Home | History | Annotate | Download | only in ui

Lines Matching refs:GraphicBuffer

17 #define LOG_TAG "GraphicBuffer"
26 #include <ui/GraphicBuffer.h>
44 GraphicBuffer::GraphicBuffer()
56 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight,
71 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight,
86 GraphicBuffer::GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership)
100 GraphicBuffer::~GraphicBuffer()
107 void GraphicBuffer::free_handle()
121 status_t GraphicBuffer::initCheck() const {
125 void GraphicBuffer::dumpAllocationsToSystemLog()
130 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const
132 LOG_ALWAYS_FATAL_IF(this == NULL, "getNativeBuffer() called on NULL GraphicBuffer");
134 const_cast<GraphicBuffer*>(this));
137 status_t GraphicBuffer::reallocate(uint32_t inWidth, uint32_t inHeight,
158 bool GraphicBuffer::needsReallocation(uint32_t inWidth, uint32_t inHeight,
168 status_t GraphicBuffer::initSize(uint32_t inWidth, uint32_t inHeight,
185 status_t GraphicBuffer::lock(uint32_t inUsage, void** vaddr)
192 status_t GraphicBuffer::lock(uint32_t inUsage, const Rect& rect, void** vaddr)
205 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, android_ycbcr* ycbcr)
212 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, const Rect& rect,
226 status_t GraphicBuffer::unlock()
232 status_t GraphicBuffer::lockAsync(uint32_t inUsage, void** vaddr, int fenceFd)
239 status_t GraphicBuffer::lockAsync(uint32_t inUsage, const Rect& rect,
254 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, android_ycbcr* ycbcr,
262 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, const Rect& rect,
277 status_t GraphicBuffer::unlockAsync(int *fenceFd)
283 size_t GraphicBuffer::getFlattenedSize() const {
287 size_t GraphicBuffer::getFdCount() const {
291 status_t GraphicBuffer::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const {
292 size_t sizeNeeded = GraphicBuffer::getFlattenedSize();
295 size_t fdCountNeeded = GraphicBuffer::getFdCount();
330 status_t GraphicBuffer::unflatten(