Home
last modified time | relevance | path

Searched refs:vkGpu (Results 1 – 5 of 5) sorted by relevance

/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp25 GrVkGpu* VkYcbcrSamplerHelper::vkGpu() { in vkGpu() function in VkYcbcrSamplerHelper
34 GrVkGpu* vkGpu = this->vkGpu(); in ~VkYcbcrSamplerHelper() local
37 GR_VK_CALL(vkGpu->vkInterface(), DestroyImage(vkGpu->device(), fImage, nullptr)); in ~VkYcbcrSamplerHelper()
41 GR_VK_CALL(vkGpu->vkInterface(), FreeMemory(vkGpu->device(), fImageMemory, nullptr)); in ~VkYcbcrSamplerHelper()
47 GrVkGpu* vkGpu = this->vkGpu(); in isYCbCrSupported() local
49 return vkGpu->vkCaps().supportsYcbcrConversion(); in isYCbCrSupported()
53 GrVkGpu* vkGpu = this->vkGpu(); in createBackendTexture() local
58 GR_VK_CALL(vkGpu->vkInterface(), in createBackendTexture()
59 GetPhysicalDeviceFormatProperties(vkGpu->physicalDevice(), in createBackendTexture()
83 GR_VK_CALL_RESULT(vkGpu, result, CreateImage(vkGpu->device(), &vkImageInfo, nullptr, &fImage)); in createBackendTexture()
[all …]
DVkYcbcrSamplerHelper.h37 GrVkGpu* vkGpu();
/external/skia/tests/
DVkBackendSurfaceTest.cpp139 GrVkGpu* vkGpu = static_cast<GrVkGpu*>(gpu);
140 if (!vkGpu->vkCaps().supportsExternalMemory()) {
173 vkTex->setImageLayout(vkGpu, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, 0,
180 REPORTER_ASSERT(reporter, newVkInfo.fCurrentQueueFamily == vkGpu->queueIndex());
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp51 GrVkGpu* vkGpu = (GrVkGpu*)gpu; in freeGPUData() local
52 GR_VK_CALL(vkGpu->vkInterface(), FreeCommandBuffers(vkGpu->device(), cmdPool, 1, &fCmdBuffer)); in freeGPUData()
54 this->onFreeGPUData(vkGpu); in freeGPUData()
DGrVkGpu.cpp194 sk_sp<GrVkGpu> vkGpu(new GrVkGpu(direct, backendContext, std::move(caps), interface, in Make() local
198 !vkGpu->vkCaps().supportsProtectedMemory()) { in Make()
201 return std::move(vkGpu); in Make()