Lines Matching defs:size
467 sk_sp<GrGpuBuffer> GrVkGpu::onCreateBuffer(size_t size, GrGpuBufferType type,
489 sk_sp<GrGpuBuffer> buff = GrVkBuffer::Make(this, size, type, accessPattern);
492 buff->updateData(data, size);
795 VkDeviceSize size = rect.height()*layout.rowPitch;
796 SkASSERT(size + offset <= alloc.fSize);
810 GrVkMemory::FlushMappedAlloc(this, alloc, offset, size);
844 // Vulkan requires offsets in the buffer to be aligned to multiple of the texel size and 4
955 rect.size(),
966 // Vulkan requires offsets in the buffer to be aligned to multiple of the texel size and 4
1284 VkDeviceSize size) {
1291 copyRegion.size = size;
1297 VkDeviceSize offset, VkDeviceSize size) {
1302 this->currentCommandBuffer()->updateBuffer(this, std::move(buffer), offset, size, src);
1850 size_t size) {
1898 memcpy(slice.fOffsetMapPtr, data, size);
2106 return (req.size > 0) && (req.size <= 8192 * 8192);
2216 SkASSERT(!newState || proxies.size() == 1);