Lines Matching refs:GraphicBuffer

48 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) {  in from()
49 return static_cast<GraphicBuffer *>(anwb); in from()
52 GraphicBuffer* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer* buffer) { in fromAHardwareBuffer()
53 return reinterpret_cast<GraphicBuffer*>(buffer); in fromAHardwareBuffer()
56 GraphicBuffer const* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer const* buffer) { in fromAHardwareBuffer()
57 return reinterpret_cast<GraphicBuffer const*>(buffer); in fromAHardwareBuffer()
60 AHardwareBuffer* GraphicBuffer::toAHardwareBuffer() { in toAHardwareBuffer()
64 AHardwareBuffer const* GraphicBuffer::toAHardwareBuffer() const { in toAHardwareBuffer()
68 GraphicBuffer::GraphicBuffer() in GraphicBuffer() function in android::GraphicBuffer
83 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() function in android::GraphicBuffer
85 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
89 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() function in android::GraphicBuffer
91 : GraphicBuffer() { in GraphicBuffer()
97 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() function in android::GraphicBuffer
100 : GraphicBuffer(inHandle, keepOwnership ? TAKE_HANDLE : WRAP_HANDLE, in GraphicBuffer()
106 GraphicBuffer::GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, in GraphicBuffer() function in android::GraphicBuffer
109 : GraphicBuffer() { in GraphicBuffer()
115 GraphicBuffer::GraphicBuffer(std::unique_ptr<BufferHubBuffer> buffer) : GraphicBuffer() { in GraphicBuffer() function in android::GraphicBuffer
130 GraphicBuffer::~GraphicBuffer() in ~GraphicBuffer()
141 void GraphicBuffer::free_handle() in free_handle()
152 status_t GraphicBuffer::initCheck() const { in initCheck()
156 void GraphicBuffer::dumpAllocationsToSystemLog() in dumpAllocationsToSystemLog()
161 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer()
164 const_cast<GraphicBuffer*>(this)); in getNativeBuffer()
167 status_t GraphicBuffer::reallocate(uint32_t inWidth, uint32_t inHeight, in reallocate()
189 bool GraphicBuffer::needsReallocation(uint32_t inWidth, uint32_t inHeight, in needsReallocation()
201 status_t GraphicBuffer::initWithSize(uint32_t inWidth, uint32_t inHeight, in initWithSize()
224 status_t GraphicBuffer::initWithHandle(const native_handle_t* inHandle, HandleWrapMethod method, in initWithHandle()
262 status_t GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, in lock()
269 status_t GraphicBuffer::lock(uint32_t inUsage, const Rect& rect, void** vaddr, in lock()
285 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, android_ycbcr* ycbcr) in lockYCbCr()
292 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, const Rect& rect, in lockYCbCr()
306 status_t GraphicBuffer::unlock() in unlock()
312 status_t GraphicBuffer::lockAsync(uint32_t inUsage, void** vaddr, int fenceFd, in lockAsync()
320 status_t GraphicBuffer::lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, int fenceFd, in lockAsync()
325 status_t GraphicBuffer::lockAsync(uint64_t inProducerUsage, uint64_t inConsumerUsage, in lockAsync()
342 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, android_ycbcr* ycbcr, in lockAsyncYCbCr()
350 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, const Rect& rect, in lockAsyncYCbCr()
364 status_t GraphicBuffer::unlockAsync(int *fenceFd) in unlockAsync()
370 status_t GraphicBuffer::isSupported(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in isSupported()
377 size_t GraphicBuffer::getFlattenedSize() const { in getFlattenedSize()
386 size_t GraphicBuffer::getFdCount() const { in getFdCount()
395 status_t GraphicBuffer::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
401 size_t sizeNeeded = GraphicBuffer::getFlattenedSize(); in flatten()
404 size_t fdCountNeeded = GraphicBuffer::getFdCount(); in flatten()
439 status_t GraphicBuffer::unflatten(void const*& buffer, size_t& size, int const*& fds, in unflatten()
565 void GraphicBuffer::addDeathCallback(GraphicBufferDeathCallback deathCallback, void* context) { in addDeathCallback()
570 status_t GraphicBuffer::flattenBufferHubBuffer(void*& buffer, size_t& size) const { in flattenBufferHubBuffer()
597 status_t GraphicBuffer::unflattenBufferHubBuffer(void const*& buffer, size_t& size) { in unflattenBufferHubBuffer()
634 bool GraphicBuffer::isBufferHubBuffer() const { in isBufferHubBuffer()