renamed Fence instead of GPUFence
This commit is contained in:
@@ -67,7 +67,7 @@ class TextureCmdBuffer;
|
||||
class RenderPass;
|
||||
class DeviceRenderPassManage;
|
||||
|
||||
class GPUFence;
|
||||
class Fence;
|
||||
class GPUSemaphore;
|
||||
|
||||
enum class DescriptorSetsType
|
||||
|
@@ -240,7 +240,7 @@ public:
|
||||
|
||||
RenderPass * AcquireRenderPass( const RenderbufferInfo *,const uint subpass_count=2);
|
||||
|
||||
GPUFence * CreateFence(bool);
|
||||
Fence * CreateFence(bool);
|
||||
GPUSemaphore * CreateGPUSemaphore();
|
||||
|
||||
GPUQueue * CreateQueue(const uint32_t fence_count=1,const bool create_signaled=false);
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include<hgl/graph/VK.h>
|
||||
VK_NAMESPACE_BEGIN
|
||||
class GPUFence
|
||||
class Fence
|
||||
{
|
||||
VkDevice device;
|
||||
VkFence fence;
|
||||
@@ -12,7 +12,7 @@ private:
|
||||
|
||||
friend class GPUDevice;
|
||||
|
||||
GPUFence(VkDevice d,VkFence f)
|
||||
Fence(VkDevice d,VkFence f)
|
||||
{
|
||||
device=d;
|
||||
fence=f;
|
||||
@@ -20,9 +20,9 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
~GPUFence();
|
||||
~Fence();
|
||||
|
||||
operator VkFence(){return fence;}
|
||||
};//class GPUFence
|
||||
};//class Fence
|
||||
VK_NAMESPACE_END
|
||||
#endif//HGL_VULKAN_GRAPH_FENCE_INCLUDE
|
||||
|
@@ -12,7 +12,7 @@ protected:
|
||||
VkQueue queue;
|
||||
|
||||
uint32_t current_fence;
|
||||
GPUFence **fence_list;
|
||||
Fence **fence_list;
|
||||
uint32_t fence_count;
|
||||
|
||||
SubmitInfo submit_info;
|
||||
@@ -21,7 +21,7 @@ private:
|
||||
|
||||
friend class GPUDevice;
|
||||
|
||||
GPUQueue(VkDevice dev,VkQueue q,GPUFence **,const uint32_t fc);
|
||||
GPUQueue(VkDevice dev,VkQueue q,Fence **,const uint32_t fc);
|
||||
|
||||
public:
|
||||
|
||||
|
Reference in New Issue
Block a user