/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | GraphicBufferAlloc.cpp | 20 #include <ui/GraphicBuffer.h> 34 sp<GraphicBuffer> GraphicBufferAlloc::createGraphicBuffer(uint32_t w, uint32_t h, 36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage)); 41 GraphicBuffer::dumpAllocationsToSystemLog();
|
H A D | GraphicBufferAlloc.h | 30 class GraphicBuffer; 36 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
H A D | FramebufferSurface.h | 62 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence); 74 sp<GraphicBuffer> mCurrentBuffer;
|
H A D | FramebufferSurface.cpp | 33 #include <ui/GraphicBuffer.h> 71 status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence) { 111 sp<GraphicBuffer> buf;
|
H A D | HWComposer.h | 46 class GraphicBuffer; 126 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 151 virtual void setBuffer(const sp<GraphicBuffer>& buffer) = 0; 284 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 17 #define LOG_TAG "GraphicBuffer" 26 #include <ui/GraphicBuffer.h> 37 GraphicBuffer::GraphicBuffer() function in class:android::GraphicBuffer 49 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, function in class:android::GraphicBuffer 63 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, function in class:android::GraphicBuffer 78 GraphicBuffer::GraphicBuffer(ANativeWindowBuffe function in class:android::GraphicBuffer [all...] |
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 36 // GraphicBuffer 39 class GraphicBuffer class in namespace:android 42 GraphicBuffer, 43 LightRefBase<GraphicBuffer> >, public Flattenable 70 GraphicBuffer(); 73 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage); 76 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, 80 GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership); 107 virtual ~GraphicBuffer(); 128 friend class LightRefBase<GraphicBuffer>; [all...] |
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferAlloc.cpp | 25 #include <ui/GraphicBuffer.h> 45 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, 54 sp<GraphicBuffer> graphicBuffer; 57 graphicBuffer = new GraphicBuffer(); 78 * GraphicBuffer until it is destroyed (that is, until 82 sp<GraphicBuffer> buffer; 84 BufferReference(const sp<GraphicBuffer>& buffer) : buffer(buffer) { } 96 sp<GraphicBuffer> result = 102 // buffer stays alive until the GraphicBuffer object on
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaBuffer.h | 29 class GraphicBuffer; 53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 72 sp<GraphicBuffer> graphicBuffer() const; 105 sp<GraphicBuffer> mGraphicBuffer;
|
H A D | SurfaceMediaSource.h | 33 class GraphicBuffer; 150 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS]; 173 Vector<sp<GraphicBuffer> > mCurrentBuffers;
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferAlloc.h | 30 class GraphicBuffer; 37 /* Create a new GraphicBuffer for the client to use. 39 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
H A D | SurfaceTexture.h | 29 #include <ui/GraphicBuffer.h> 141 sp<GraphicBuffer> getCurrentBuffer() const; 243 virtual bool reject(const sp<GraphicBuffer>& buf, 251 // createImage creates a new EGLImage from a GraphicBuffer. 253 const sp<GraphicBuffer>& graphicBuffer); 256 // initialized this will release the reference to the GraphicBuffer in that 263 // current texture. It uses mCurrentTransform and the current GraphicBuffer 285 static const uint32_t DEFAULT_USAGE_FLAGS = GraphicBuffer::USAGE_HW_TEXTURE; 290 sp<GraphicBuffer> mCurrentTextureBuf;
|
H A D | BufferItemConsumer.h | 22 #include <ui/GraphicBuffer.h>
|
H A D | CpuConsumer.h | 22 #include <ui/GraphicBuffer.h>
|
H A D | ConsumerBase.h | 22 #include <ui/GraphicBuffer.h> 102 // initialized this will release the reference to the GraphicBuffer in that 170 sp<GraphicBuffer> mGraphicBuffer;
|
H A D | SurfaceTextureClient.h | 131 sp<GraphicBuffer> buffer; 213 sp<GraphicBuffer> mLockedBuffer; 214 sp<GraphicBuffer> mPostedBuffer;
|
H A D | BufferQueue.h | 27 #include <ui/GraphicBuffer.h> 114 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 187 sp<GraphicBuffer> mGraphicBuffer; 286 // freeBufferLocked frees the resources (both GraphicBuffer and EGLImage) 290 // freeAllBuffersLocked frees the resources (both GraphicBuffer and 294 // freeAllBuffersExceptHeadLocked frees the resources (both GraphicBuffer 352 sp<GraphicBuffer> mGraphicBuffer; 445 // and server without sending a GraphicBuffer over binder. The entire array 481 // allocate new GraphicBuffer objects.
|
/frameworks/native/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 25 #include <ui/GraphicBuffer.h> 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888,
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 31 #include <ui/GraphicBuffer.h> 125 void hwcTestSetPixel(android::GraphicBuffer *gBuf, unsigned char *buf, 127 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color, 129 void hwcTestFillColorHBlend(android::GraphicBuffer *gBuf,
|
H A D | hwcColorEquiv.cpp | 89 #include <ui/GraphicBuffer.h> 125 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 126 GraphicBuffer::USAGE_SW_WRITE_RARELY; 313 sp<GraphicBuffer> refFrame; 314 refFrame = new GraphicBuffer(refWidth, refHeight, 327 sp<GraphicBuffer> equivFrame; 328 equivFrame = new GraphicBuffer(equivWidth, equivHeight,
|
H A D | hwcStress.cpp | 105 #include <ui/GraphicBuffer.h> 193 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 194 GraphicBuffer::USAGE_SW_WRITE_RARELY; 199 static vector <vector <sp<GraphicBuffer> > > frames; 420 vector <vector <sp<GraphicBuffer> > > selectedFrames; 430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; 501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; 596 frames[row][col] = new GraphicBuffer(w, h, format, texUsage); 598 testPrintE("GraphicBuffer initCheck failed, rv: %i", rv);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaBuffer.cpp | 29 #include <ui/GraphicBuffer.h> 60 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) 146 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const {
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.h | 27 #include <ui/GraphicBuffer.h> 91 inline const sp<GraphicBuffer>& getActiveBuffer() const { return mActiveBuffer; } 122 sp<GraphicBuffer> mActiveBuffer;
|
H A D | LayerDim.cpp | 27 #include <ui/GraphicBuffer.h>
|
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 25 #include <ui/GraphicBuffer.h> 72 sp<GraphicBuffer> buf;
|