Lines Matching defs:memory
54 GrVkBackendMemory memory = 0;
67 VkResult result = allocator->allocateBufferMemory(buffer, usage, propFlags, &memory);
71 allocator->getAllocInfo(memory, alloc);
105 // Import external memory
124 VkDeviceMemory memory;
125 GR_VK_CALL_RESULT(gpu, err, AllocateMemory(device, &allocateInfo, nullptr, &memory));
131 GR_VK_CALL_RESULT(gpu, err, BindBufferMemory(device, buffer, memory, 0));
133 VK_CALL(gpu, FreeMemory(device, memory, nullptr));
137 alloc->fMemory = memory;
168 GrVkBackendMemory memory = 0;
183 // memory we can add a size check here to force the use of dedicate memory. However for now,
185 // GPU recommends or requires the use of dedicated memory.
204 VkResult result = allocator->allocateImageMemory(image, propFlags, &memory);
210 allocator->getAllocInfo(memory, alloc);
285 range->memory = alloc.fMemory;