Lines Matching refs:inUsage

84         PixelFormat inFormat, uint32_t inUsage, std::string requestorName)  in GraphicBuffer()  argument
85 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
90 uint32_t inLayerCount, uint64_t inUsage, std::string requestorName) in GraphicBuffer() argument
92 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer()
98 PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
101 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer()
108 uint32_t inLayerCount, uint64_t inUsage, uint32_t inStride) in GraphicBuffer() argument
111 inUsage, inStride); in GraphicBuffer()
168 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage) in reallocate() argument
178 inUsage == usage) in reallocate()
186 return initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, "[Reallocation]"); in reallocate()
190 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage) in needsReallocation() argument
196 if ((usage & inUsage) != inUsage) return true; in needsReallocation()
197 if ((usage & USAGE_PROTECTED) != (inUsage & USAGE_PROTECTED)) return true; in needsReallocation()
202 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage, in initWithSize() argument
208 inUsage, &handle, &outStride, mId, in initWithSize()
217 usage = inUsage; in initWithSize()
226 uint32_t inLayerCount, uint64_t inUsage, uint32_t inStride) { in initWithHandle() argument
231 ANativeWindowBuffer::usage = inUsage; in initWithHandle()
232 ANativeWindowBuffer::usage_deprecated = int(inUsage); in initWithHandle()
241 inFormat, inUsage, inStride, &importedHandle); in initWithHandle()
262 status_t GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, in lock() argument
265 status_t res = lock(inUsage, lockBounds, vaddr, outBytesPerPixel, outBytesPerStride); in lock()
269 status_t GraphicBuffer::lock(uint32_t inUsage, const Rect& rect, void** vaddr, in lock() argument
279 status_t res = getBufferMapper().lock(handle, inUsage, rect, vaddr, outBytesPerPixel, in lock()
285 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, android_ycbcr* ycbcr) in lockYCbCr() argument
288 status_t res = lockYCbCr(inUsage, lockBounds, ycbcr); in lockYCbCr()
292 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, const Rect& rect, in lockYCbCr() argument
302 status_t res = getBufferMapper().lockYCbCr(handle, inUsage, rect, ycbcr); in lockYCbCr()
312 status_t GraphicBuffer::lockAsync(uint32_t inUsage, void** vaddr, int fenceFd, in lockAsync() argument
316 lockAsync(inUsage, lockBounds, vaddr, fenceFd, outBytesPerPixel, outBytesPerStride); in lockAsync()
320 status_t GraphicBuffer::lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, int fenceFd, in lockAsync() argument
322 return lockAsync(inUsage, inUsage, rect, vaddr, fenceFd, outBytesPerPixel, outBytesPerStride); in lockAsync()
342 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, android_ycbcr* ycbcr, in lockAsyncYCbCr() argument
346 status_t res = lockAsyncYCbCr(inUsage, lockBounds, ycbcr, fenceFd); in lockAsyncYCbCr()
350 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, const Rect& rect, in lockAsyncYCbCr() argument
360 status_t res = getBufferMapper().lockAsyncYCbCr(handle, inUsage, rect, ycbcr, fenceFd); in lockAsyncYCbCr()
371 uint32_t inLayerCount, uint64_t inUsage, in isSupported() argument
373 return mBufferMapper.isSupported(inWidth, inHeight, inFormat, inLayerCount, inUsage, in isSupported()