Home
last modified time | relevance | path

Searched refs:fImageMemory (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp40 if (fImageMemory != VK_NULL_HANDLE) { in ~VkYcbcrSamplerHelper()
41 GR_VK_CALL(vkGpu->vkInterface(), FreeMemory(vkGpu->device(), fImageMemory, nullptr)); in ~VkYcbcrSamplerHelper()
42 fImageMemory = VK_NULL_HANDLE; in ~VkYcbcrSamplerHelper()
116 SkASSERT(fImageMemory == VK_NULL_HANDLE); in createBackendTexture()
118 nullptr, &fImageMemory)); in createBackendTexture()
124 GR_VK_CALL_RESULT(vkGpu, result, MapMemory(vkGpu->device(), fImageMemory, 0u, in createBackendTexture()
163 flushRange.memory = fImageMemory; in createBackendTexture()
170 GR_VK_CALL(vkGpu->vkInterface(), UnmapMemory(vkGpu->device(), fImageMemory)); in createBackendTexture()
173 GR_VK_CALL_RESULT(vkGpu, result, BindImageMemory(vkGpu->device(), fImage, fImageMemory, 0u)); in createBackendTexture()
189 alloc.fMemory = fImageMemory; in createBackendTexture()
DVkYcbcrSamplerHelper.h42 VkDeviceMemory fImageMemory = VK_NULL_HANDLE; variable
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp88 VkDeviceMemory fImageMemory = VK_NULL_HANDLE; member in VkYcbcrSamplerTestHelper
99 if (fImageMemory != VK_NULL_HANDLE) { in ~VkYcbcrSamplerTestHelper()
100 fVkFreeMemory(fDevice, fImageMemory, nullptr); in ~VkYcbcrSamplerTestHelper()
101 fImageMemory = VK_NULL_HANDLE; in ~VkYcbcrSamplerTestHelper()
250 REPORTER_ASSERT(reporter, fImageMemory == VK_NULL_HANDLE); in createI420Image()
251 if (fVkAllocateMemory(fDevice, &allocInfo, nullptr, &fImageMemory) != VK_SUCCESS) { in createI420Image()
257 if (fVkMapMemory(fDevice, fImageMemory, 0u, requirements.size, 0u, &mappedBuffer) != in createI420Image()
293 flushRange.memory = fImageMemory; in createI420Image()
300 fVkUnmapMemory(fDevice, fImageMemory); in createI420Image()
303 if (fVkBindImageMemory(fDevice, fImage, fImageMemory, 0u) != VK_SUCCESS) { in createI420Image()
[all …]