Home
last modified time | relevance | path

Searched refs:GrVkGpu (Results 1 - 25 of 69) sorted by relevance

123

/third_party/skia/src/gpu/vk/
H A DGrVkCommandBuffer.h15 #include "src/gpu/vk/GrVkGpu.h"
40 void pipelineBarrier(const GrVkGpu* gpu,
48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, sk_sp<const GrBuffer> buffer);
50 void bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer);
52 void bindPipeline(const GrVkGpu* gpu, sk_sp<const GrVkPipeline> pipeline);
54 void bindDescriptorSets(const GrVkGpu* gpu,
62 void pushConstants(const GrVkGpu* gpu, VkPipelineLayout layout,
66 void setViewport(const GrVkGpu* gpu,
71 void setScissor(const GrVkGpu* gpu,
76 void setBlendConstants(const GrVkGpu* gp
[all...]
H A DGrVkDescriptorSetManager.h19 class GrVkGpu;
30 static GrVkDescriptorSetManager* CreateUniformManager(GrVkGpu* gpu);
31 static GrVkDescriptorSetManager* CreateSamplerManager(GrVkGpu* gpu, VkDescriptorType type,
35 static GrVkDescriptorSetManager* CreateZeroSamplerManager(GrVkGpu* gpu);
36 static GrVkDescriptorSetManager* CreateInputManager(GrVkGpu* gpu);
40 void release(GrVkGpu* gpu);
44 const GrVkDescriptorSet* getDescriptorSet(GrVkGpu* gpu, const Handle& handle);
62 bool getNewDescriptorSet(GrVkGpu* gpu, VkDescriptorSet* ds);
64 void freeGPUResources(GrVkGpu* gpu);
79 bool getNewPool(GrVkGpu* gp
[all...]
H A DGrVkImage.h25 class GrVkGpu;
33 static sk_sp<GrVkImage> MakeStencil(GrVkGpu* gpu,
38 static sk_sp<GrVkImage> MakeMSAA(GrVkGpu* gpu,
45 static sk_sp<GrVkImage> MakeTexture(GrVkGpu* gpu,
54 static sk_sp<GrVkImage> MakeWrapped(GrVkGpu* gpu,
64 static void DestroyAndFreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkImage& image);
112 gr_rp<const GrVkDescriptorSet> inputDescSetForBlending(GrVkGpu* gpu);
115 gr_rp<const GrVkDescriptorSet> inputDescSetForMSAALoad(GrVkGpu* gpu);
133 void setImageLayoutAndQueueIndex(const GrVkGpu* gpu,
140 void setImageLayout(const GrVkGpu* gp
[all...]
H A DGrVkMemory.h19 class GrVkGpu;
26 bool AllocAndBindBufferMemory(GrVkGpu* gpu,
36 bool ImportAndBindBufferMemory(GrVkGpu* gpu,
41 void FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc);
43 bool AllocAndBindImageMemory(GrVkGpu* gpu,
48 void FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc);
54 void* MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc);
55 void UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
60 void FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
62 void InvalidateMappedAlloc(GrVkGpu* gp
[all...]
H A DGrVkGpu.cpp8 #include "src/gpu/vk/GrVkGpu.h"
61 sk_sp<GrGpu> GrVkGpu::Make(const GrVkBackendContext& backendContext, in Make()
208 sk_sp<GrVkGpu> vkGpu(new GrVkGpu(direct, backendContext, std::move(caps), interface, in Make()
221 GrVkGpu::GrVkGpu(GrDirectContext* direct, const GrVkBackendContext& backendContext, in GrVkGpu() function in GrVkGpu
258 void GrVkGpu::destroyResources() { in destroyResources()
290 GrVkGpu::~GrVkGpu() { in ~GrVkGpu()
294 // We don't delete the memory allocator until the very end of the GrVkGpu lifetim in ~GrVkGpu()
[all...]
H A DGrVkCommandBuffer.cpp15 #include "src/gpu/vk/GrVkGpu.h"
56 GrVkGpu* vkGpu = (GrVkGpu*)gpu; in freeGPUData()
80 void GrVkCommandBuffer::pipelineBarrier(const GrVkGpu* gpu, in pipelineBarrier()
150 void GrVkCommandBuffer::submitPipelineBarriers(const GrVkGpu* gpu, bool forSelfDependency) { in submitPipelineBarriers()
181 void GrVkCommandBuffer::bindInputBuffer(GrVkGpu* gpu, uint32_t binding, in bindInputBuffer()
200 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer) {
214 void GrVkCommandBuffer::clearAttachments(const GrVkGpu* gpu,
245 void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu,
263 void GrVkCommandBuffer::bindPipeline(const GrVkGpu* gp
[all...]
H A DGrVkPipelineState.h24 class GrVkGpu;
42 GrVkPipelineState(GrVkGpu*,
56 bool setAndBindUniforms(GrVkGpu*, SkISize colorAttachmentDimensions, const GrProgramInfo&,
62 bool setAndBindTextures(GrVkGpu*,
68 bool setAndBindInputAttachment(GrVkGpu*, gr_rp<const GrVkDescriptorSet> inputDescSet,
71 void bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer);
73 void freeGPUResources(GrVkGpu* gpu);
H A DGrVkPipeline.h25 class GrVkGpu;
31 static sk_sp<GrVkPipeline> Make(GrVkGpu*,
50 static sk_sp<GrVkPipeline> Make(GrVkGpu*,
65 static void SetDynamicScissorRectState(GrVkGpu*,
69 static void SetDynamicViewportState(GrVkGpu*,
72 static void SetDynamicBlendConstantState(GrVkGpu*,
84 GrVkPipeline(const GrVkGpu* gpu, VkPipeline pipeline, VkPipelineLayout layout) in GrVkPipeline()
H A DGrVkTexture.h18 class GrVkGpu;
24 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*,
32 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*,
63 GrVkTexture(GrVkGpu*,
68 GrVkGpu* getVkGpu() const;
85 GrVkTexture(GrVkGpu*, SkBudgeted, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus);
86 GrVkTexture(GrVkGpu*, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus,
H A DGrVkManagedResource.h13 class GrVkGpu;
17 GrVkManagedResource(const GrVkGpu* gpu) : fGpu(gpu) {} in GrVkManagedResource()
20 const GrVkGpu* fGpu; // pointer to gpu object that can be used
29 GrVkRecycledResource(GrVkGpu* gpu) : fGpu(gpu) {} in GrVkRecycledResource()
32 GrVkGpu* fGpu; // pointer to gpu object that can be used
H A DGrVkImage.cpp10 #include "src/gpu/vk/GrVkGpu.h"
19 sk_sp<GrVkImage> GrVkImage::MakeStencil(GrVkGpu* gpu, in MakeStencil()
37 sk_sp<GrVkImage> GrVkImage::MakeMSAA(GrVkGpu* gpu, in MakeMSAA()
63 sk_sp<GrVkImage> GrVkImage::MakeTexture(GrVkGpu* gpu, in MakeTexture()
93 static bool make_views(GrVkGpu* gpu, in make_views()
131 sk_sp<GrVkImage> GrVkImage::Make(GrVkGpu* gpu, in Make()
176 sk_sp<GrVkImage> GrVkImage::MakeWrapped(GrVkGpu* gpu, in MakeWrapped()
209 void GrVkImage::DestroyAndFreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkImage& image) in DestroyAndFreeImageMemory()
215 GrVkImage::GrVkImage(GrVkGpu* gpu, in GrVkImage()
246 GrVkImage::GrVkImage(GrVkGpu* gp
[all...]
H A DGrVkCommandPool.h19 class GrVkGpu;
23 static GrVkCommandPool* Create(GrVkGpu* gpu);
29 void reset(GrVkGpu* gpu);
35 std::unique_ptr<GrVkSecondaryCommandBuffer> findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu);
56 GrVkCommandPool(GrVkGpu* gpu, VkCommandPool commandPool, GrVkPrimaryCommandBuffer*);
H A DGrVkBuffer.h15 class GrVkGpu;
19 static sk_sp<GrVkBuffer> Make(GrVkGpu* gpu,
24 static sk_sp<GrVkBuffer> MakeFromOHNativeBuffer(GrVkGpu* gpu,
31 static void DestroyAndFreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkBuffer& buffer);
46 GrVkBuffer(GrVkGpu* gpu,
71 GrVkGpu* getVkGpu() const;
H A DGrVkMemory.cpp16 #include "src/gpu/vk/GrVkGpu.h"
24 static bool FindMemoryType(GrVkGpu *gpu, uint32_t typeFilter, VkMemoryPropertyFlags properties, uint32_t &typeIndex) in FindMemoryType()
44 bool GrVkMemory::AllocAndBindBufferMemory(GrVkGpu* gpu,
90 bool GrVkMemory::ImportAndBindBufferMemory(GrVkGpu* gpu,
146 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) {
148 ((GrVkGpu*)gpu)->removeAllocBufferBytes(alloc.fBytes);
162 bool GrVkMemory::AllocAndBindImageMemory(GrVkGpu* gpu,
231 void GrVkMemory::FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) {
233 ((GrVkGpu*)gpu)->removeAllocImageBytes(alloc.fBytes);
243 void* GrVkMemory::MapAlloc(GrVkGpu* gp
[all...]
H A DGrVkTexture.cpp13 #include "src/gpu/vk/GrVkGpu.h"
23 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture()
54 GrVkTexture::GrVkTexture(GrVkGpu* gpu, SkISize dimensions, in GrVkTexture()
71 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture()
87 sk_sp<GrVkTexture> GrVkTexture::MakeNewTexture(GrVkGpu* gpu, SkBudgeted budgeted, in MakeNewTexture()
104 GrVkGpu* gpu, SkISize dimensions, GrWrapOwnership wrapOwnership, GrWrapCacheable cacheable, in MakeWrappedTexture()
146 DescriptorCacheEntry(const GrVkDescriptorSet* fDescSet, GrVkGpu* gpu) in DescriptorCacheEntry()
155 GrVkGpu* fGpu;
171 GrVkGpu* GrVkTexture::getVkGpu() const { in getVkGpu()
173 return static_cast<GrVkGpu*>(thi in getVkGpu()
[all...]
H A DGrVkSemaphore.h19 class GrVkGpu;
23 static std::unique_ptr<GrVkSemaphore> Make(GrVkGpu* gpu, bool isOwned);
25 static std::unique_ptr<GrVkSemaphore> MakeWrapped(GrVkGpu*,
36 Resource(const GrVkGpu* gpu, VkSemaphore semaphore, in Resource()
86 GrVkSemaphore(GrVkGpu* gpu, VkSemaphore semaphore, bool prohibitSignal, bool prohibitWait,
H A DGrVkMSAALoadManager.h19 class GrVkGpu;
30 bool loadMSAAFromResolve(GrVkGpu* gpu,
37 void destroyResources(GrVkGpu* gpu);
40 bool createMSAALoadProgram(GrVkGpu* gpu);
H A DGrVkRenderTarget.h20 class GrVkGpu;
27 static sk_sp<GrVkRenderTarget> MakeWrappedRenderTarget(GrVkGpu*,
33 static sk_sp<GrVkRenderTarget> MakeSecondaryCBRenderTarget(GrVkGpu*,
122 GrVkRenderTarget(GrVkGpu* gpu,
136 GrVkRenderTarget(GrVkGpu* gpu,
142 GrVkGpu* getVkGpu() const;
H A DGrVkPipelineStateBuilder.h20 class GrVkGpu;
32 static GrVkPipelineState* CreatePipelineState(GrVkGpu*,
40 GrVkGpu* gpu() const { return fGpu; } in gpu()
48 GrVkPipelineStateBuilder(GrVkGpu*, const GrProgramDesc&, const GrProgramInfo&);
79 GrVkGpu* fGpu;
H A DGrVkTextureRenderTarget.h16 class GrVkGpu;
30 GrVkGpu* gpu,
40 GrVkGpu*,
66 GrVkTextureRenderTarget(GrVkGpu* gpu,
74 GrVkTextureRenderTarget(GrVkGpu* gpu,
H A DGrVkRenderPass.h19 class GrVkGpu;
43 explicit GrVkRenderPass(const GrVkGpu* gpu, VkRenderPass renderPass, in GrVkRenderPass()
105 static GrVkRenderPass* CreateSimple(GrVkGpu*,
110 static GrVkRenderPass* Create(GrVkGpu*,
176 GrVkRenderPass(const GrVkGpu*, VkRenderPass, AttachmentFlags, const AttachmentsDescriptor&,
180 static GrVkRenderPass* Create(GrVkGpu* gpu,
H A DGrVkDescriptorSetManager.cpp12 #include "src/gpu/vk/GrVkGpu.h"
19 GrVkDescriptorSetManager* GrVkDescriptorSetManager::CreateUniformManager(GrVkGpu* gpu) { in CreateUniformManager()
28 GrVkGpu* gpu, VkDescriptorType type, const GrVkUniformHandler& uniformHandler) { in CreateSamplerManager()
39 GrVkDescriptorSetManager* GrVkDescriptorSetManager::CreateZeroSamplerManager(GrVkGpu* gpu) { in CreateZeroSamplerManager()
45 GrVkDescriptorSetManager* GrVkDescriptorSetManager::CreateInputManager(GrVkGpu* gpu) { in CreateInputManager()
64 static bool get_layout_and_desc_count(GrVkGpu* gpu, in get_layout_and_desc_count()
188 GrVkGpu* gpu, VkDescriptorType type, in Create()
210 GrVkGpu* gpu, VkDescriptorType type, VkDescriptorSetLayout descSetLayout, in GrVkDescriptorSetManager()
226 const GrVkDescriptorSet* GrVkDescriptorSetManager::getDescriptorSet(GrVkGpu* gpu, in getDescriptorSet()
250 void GrVkDescriptorSetManager::release(GrVkGpu* gp
[all...]
H A DGrVkFramebuffer.h18 class GrVkGpu;
25 static sk_sp<const GrVkFramebuffer> Make(GrVkGpu* gpu,
34 GrVkFramebuffer(const GrVkGpu* gpu,
78 GrVkFramebuffer(const GrVkGpu* gpu,
H A DGrVkMemoryReclaimer.h34 const GrVkGpu* fGpu;
45 bool addMemoryToWaitQueue(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkBuffer& buffer);
46 bool addMemoryToWaitQueue(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkImage& image);
H A DGrVkDescriptorPool.h16 class GrVkGpu;
25 static GrVkDescriptorPool* Create(GrVkGpu* gpu, VkDescriptorType type, uint32_t count);
41 GrVkDescriptorPool(const GrVkGpu*, VkDescriptorPool pool, VkDescriptorType type,

Completed in 11 milliseconds

123