Home
last modified time | relevance | path

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

/third_party/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();
/third_party/flutter/skia/tests/
DVkBackendSurfaceTest.cpp137 GrVkGpu* vkGpu = static_cast<GrVkGpu*>(gpu); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
138 if (!vkGpu->vkCaps().supportsExternalMemory()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
190 vkTex->setCurrentQueueFamilyToGraphicsQueue(vkGpu); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
218 GrVkGpu* vkGpu = static_cast<GrVkGpu*>(context->priv().getGpu()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
219 if (!vkGpu->vkCaps().supportsExternalMemory()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
246 vkInfo.fCurrentQueueFamily = vkGpu->queueIndex(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
283 vkTex->setCurrentQueueFamilyToGraphicsQueue(vkGpu); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
294 REPORTER_ASSERT(reporter, newVkInfo.fCurrentQueueFamily == vkGpu->queueIndex()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
321 REPORTER_ASSERT(reporter, newVkInfo.fCurrentQueueFamily == vkGpu->queueIndex()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
345 GrVkGpu* vkGpu = static_cast<GrVkGpu*>(gpu);
[all …]
/third_party/skia/tests/
DVkBackendSurfaceTest.cpp194 GrVkGpu* vkGpu = static_cast<GrVkGpu*>(gpu);
195 if (!vkGpu->vkCaps().supportsExternalMemory()) {
228 vkTex->setImageLayout(vkGpu, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, 0,
235 REPORTER_ASSERT(reporter, newVkInfo.fCurrentQueueFamily == vkGpu->queueIndex());
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp52 GrVkGpu* vkGpu = (GrVkGpu*)gpu; in freeGPUData() local
53 GR_VK_CALL(vkGpu->vkInterface(), FreeCommandBuffers(vkGpu->device(), cmdPool, 1, &fCmdBuffer)); in freeGPUData()
55 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()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp144 sk_sp<GrVkGpu> vkGpu(new GrVkGpu(context, options, backendContext, interface, in Make() local
147 !vkGpu->vkCaps().supportsProtectedMemory()) { in Make()
150 return vkGpu; in Make()