Lines Matching refs:usage

21                      uint64_t usage)  in IonBuffer()  argument
23 Alloc(width, height, kDefaultGraphicBufferLayerCount, format, usage); in IonBuffer()
27 uint32_t stride, uint32_t format, uint64_t usage) in IonBuffer() argument
29 format, usage) {} in IonBuffer()
33 uint64_t usage) in IonBuffer() argument
38 handle, width, height, layer_count, stride, format, usage); in IonBuffer()
40 Import(handle, width, height, layer_count, stride, format, usage); in IonBuffer()
48 handle(), width(), height(), stride(), format(), usage()); in ~IonBuffer()
75 uint32_t format, uint64_t usage) { in Alloc() argument
78 "usage=%" PRIx64, width, height, layer_count, format, usage); in Alloc()
81 new GraphicBuffer(width, height, format, layer_count, usage); in Alloc()
93 uint64_t usage) { in Reset() argument
97 handle, width, height, layer_count, stride, format, usage); in Reset()
98 Import(handle, width, height, layer_count, stride, format, usage); in Reset()
103 uint64_t usage) { in Import() argument
108 handle, width, height, layer_count, stride, format, usage); in Import()
112 height, format, layer_count, usage, stride); in Import()
125 uint64_t usage) { in Import() argument
131 usage); in Import()
150 Import(handle, width, height, layer_count, stride, format, usage); in Import()
187 other->stride(), other->format(), other->usage()); in Duplicate()
198 int IonBuffer::Lock(uint32_t usage, int x, int y, int width, int height, in Lock() argument
204 handle(), usage, x, y, width, height, address); in Lock()
207 buffer_->lock(usage, Rect(x, y, x + width, y + height), address); in Lock()
214 int IonBuffer::LockYUV(uint32_t usage, int x, int y, int width, int height, in LockYUV() argument
219 handle(), usage, x, y, width, height); in LockYUV()
222 buffer_->lockYCbCr(usage, Rect(x, y, x + width, y + height), yuv); in LockYUV()