Home
last modified time | relevance | path

Searched refs:reqUsage (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBuffer.cpp57 PixelFormat reqFormat, uint32_t reqUsage) in GraphicBuffer() argument
67 mInitCheck = initSize(w, h, reqFormat, reqUsage); in GraphicBuffer()
135 uint32_t reqUsage) in reallocate() argument
140 if (handle && w==width && h==height && f==format && reqUsage==usage) in reallocate()
148 return initSize(w, h, f, reqUsage); in reallocate()
152 uint32_t reqUsage) in initSize() argument
155 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride); in initSize()
160 this->usage = reqUsage; in initSize()
/frameworks/native/libs/gui/
DSurface.cpp200 uint32_t reqUsage; in dequeueBuffer() local
210 reqUsage = mReqUsage; in dequeueBuffer()
216 reqW, reqH, reqFormat, reqUsage); in dequeueBuffer()
220 "failed: %d", swapIntervalZero, reqW, reqH, reqFormat, reqUsage, in dequeueBuffer()
598 int Surface::setUsage(uint32_t reqUsage) in setUsage() argument
602 mReqUsage = reqUsage; in setUsage()
/frameworks/native/include/gui/
DSurface.h171 virtual int setUsage(uint32_t reqUsage);