Searched refs:kGpuOnly (Results 1 – 6 of 6) sorted by relevance
103 case BufferUsage::kGpuOnly: in allocateMemoryForBuffer()129 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateMemoryForBuffer()134 SkASSERT(BufferUsage::kGpuOnly != usage); in allocateMemoryForBuffer()
22 return dynamic ? BufferUsage::kCpuWritesGpuReads : BufferUsage::kGpuOnly; in get_buffer_usage()
149 case BufferUsage::kGpuOnly: in allocateBufferMemory()189 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateBufferMemory()194 SkASSERT(BufferUsage::kGpuOnly != usage); in allocateBufferMemory()
94 allocUsage = requiresMappable ? BufferUsage::kCpuWritesGpuReads : BufferUsage::kGpuOnly; in Make()98 allocUsage = requiresMappable ? BufferUsage::kCpuWritesGpuReads : BufferUsage::kGpuOnly; in Make()102 allocUsage = requiresMappable ? BufferUsage::kCpuWritesGpuReads : BufferUsage::kGpuOnly; in Make()
38 kGpuOnly, enumerator
40 kGpuOnly, enumerator