• Home
  • Raw
  • Download

Lines Matching full:renderer

10 // #include "libANGLE/renderer/vulkan/vk_utils.h"
12 #include "libANGLE/renderer/vulkan/Suballocation.h"
14 #include "libANGLE/renderer/vulkan/vk_mem_alloc_wrapper.h"
15 #include "libANGLE/renderer/vulkan/vk_renderer.h"
68 void BufferBlock::destroy(Renderer *renderer) in destroy() argument
70 VkDevice device = renderer->getDevice(); in destroy()
77 renderer->onMemoryDealloc(mMemoryAllocationType, mAllocatedBufferSize, mMemoryTypeIndex, in destroy()
93 Renderer *renderer = context->getRenderer(); in init() local
98 VK_RESULT_TRY(mVirtualBlock.init(renderer->getDevice(), flags, size)); in init()
108 mSerial = renderer->getResourceSerialFactory().generateBufferSerial(); in init()
122 Renderer *renderer = context->getRenderer(); in initWithoutVirtualBlock() local
135 mSerial = renderer->getResourceSerialFactory().generateBufferSerial(); in initWithoutVirtualBlock()
183 void BufferSuballocation::flush(Renderer *renderer) in flush() argument
188 renderer->getPhysicalDeviceProperties().limits.nonCoherentAtomSize; in flush()
197 mBufferBlock->getDeviceMemory().flush(renderer->getDevice(), mappedRange); in flush()
201 void BufferSuballocation::invalidate(Renderer *renderer) in invalidate() argument
206 renderer->getPhysicalDeviceProperties().limits.nonCoherentAtomSize; in invalidate()
215 mBufferBlock->getDeviceMemory().invalidate(renderer->getDevice(), mappedRange); in invalidate()
220 bool BufferSuballocationGarbage::destroyIfComplete(Renderer *renderer) in destroyIfComplete() argument
222 if (renderer->hasResourceUseFinished(mLifetime)) in destroyIfComplete()
224 mBuffer.destroy(renderer->getDevice()); in destroyIfComplete()
225 mSuballocation.destroy(renderer); in destroyIfComplete()
231 bool BufferSuballocationGarbage::hasResourceUseSubmitted(Renderer *renderer) const in hasResourceUseSubmitted()
233 return renderer->hasResourceUseSubmitted(mLifetime); in hasResourceUseSubmitted()