/frameworks/base/libs/ui/ |
D | GraphicBuffer.cpp | 39 GraphicBuffer::GraphicBuffer() in GraphicBuffer() function in android::GraphicBuffer 51 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, in GraphicBuffer() function in android::GraphicBuffer 65 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, in GraphicBuffer() function in android::GraphicBuffer 80 GraphicBuffer::GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership) in GraphicBuffer() function in android::GraphicBuffer 93 GraphicBuffer::~GraphicBuffer() in ~GraphicBuffer() 100 void GraphicBuffer::free_handle() in free_handle() 113 status_t GraphicBuffer::initCheck() const { in initCheck() 117 void GraphicBuffer::dumpAllocationsToSystemLog() in dumpAllocationsToSystemLog() 122 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer() 125 const_cast<GraphicBuffer*>(this)); in getNativeBuffer() [all …]
|
D | Android.mk | 47 GraphicBuffer.cpp \
|
/frameworks/base/include/ui/ |
D | GraphicBuffer.h | 39 class GraphicBuffer 42 GraphicBuffer, 43 LightRefBase<GraphicBuffer> >, public Flattenable 69 GraphicBuffer(); 72 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage); 75 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, 79 GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership); 107 virtual ~GraphicBuffer(); 128 friend class LightRefBase<GraphicBuffer>; 129 GraphicBuffer(const GraphicBuffer& rhs); [all …]
|
/frameworks/base/libs/gui/ |
D | IGraphicBufferAlloc.cpp | 45 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, in createGraphicBuffer() 54 sp<GraphicBuffer> graphicBuffer; in createGraphicBuffer() 57 graphicBuffer = new GraphicBuffer(); in createGraphicBuffer() 82 sp<GraphicBuffer> buffer; in onTransact() 84 BufferReference(const sp<GraphicBuffer>& buffer) : buffer(buffer) { } in onTransact() 96 sp<GraphicBuffer> result = in onTransact()
|
D | SurfaceTextureClient.cpp | 144 sp<GraphicBuffer>& gbuf(mSlots[buf]); in dequeueBuffer() 539 const sp<GraphicBuffer>& dst, in copyBlt() 540 const sp<GraphicBuffer>& src, in copyBlt() 612 sp<GraphicBuffer> backBuffer(GraphicBuffer::getSelf(out)); in lock() 628 const sp<GraphicBuffer>& frontBuffer(mPostedBuffer); in lock()
|
D | SurfaceTexture.cpp | 232 status_t SurfaceTexture::requestBuffer(int slot, sp<GraphicBuffer>* buf) { in requestBuffer() 401 const sp<GraphicBuffer>& buffer(mSlots[buf].mGraphicBuffer); in dequeueBuffer() 408 usage |= GraphicBuffer::USAGE_HW_TEXTURE; in dequeueBuffer() 410 sp<GraphicBuffer> graphicBuffer( in dequeueBuffer() 802 sp<GraphicBuffer>& buf(mSlots[mCurrentTexture].mGraphicBuffer); in computeCurrentTransformMatrix() 940 const sp<GraphicBuffer>& graphicBuffer) { in createImage() 955 sp<GraphicBuffer> SurfaceTexture::getCurrentBuffer() const { in getCurrentBuffer() 1081 const sp<GraphicBuffer>& buf(slot.mGraphicBuffer); in dump()
|
/frameworks/base/include/media/stagefright/ |
D | MediaBuffer.h | 29 class GraphicBuffer; variable 53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 72 sp<GraphicBuffer> graphicBuffer() const; 105 sp<GraphicBuffer> mGraphicBuffer;
|
D | SurfaceMediaSource.h | 32 class GraphicBuffer; variable 88 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 172 sp<GraphicBuffer> getCurrentBuffer() const; 206 sp<GraphicBuffer> mGraphicBuffer; 299 sp<GraphicBuffer> mCurrentBuf;
|
/frameworks/base/include/gui/ |
D | SurfaceTexture.h | 75 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 182 sp<GraphicBuffer> getCurrentBuffer() const; 246 const sp<GraphicBuffer>& graphicBuffer); 272 sp<GraphicBuffer> mGraphicBuffer; 380 sp<GraphicBuffer> mCurrentTextureBuf;
|
D | SurfaceTextureClient.h | 115 sp<GraphicBuffer> mSlots[NUM_BUFFER_SLOTS]; 156 sp<GraphicBuffer> mLockedBuffer; 157 sp<GraphicBuffer> mPostedBuffer;
|
D | ISurfaceTexture.h | 54 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0;
|
/frameworks/base/include/surfaceflinger/ |
D | IGraphicBufferAlloc.h | 30 class GraphicBuffer; variable 39 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
|
/frameworks/base/opengl/tests/hwc/ |
D | hwcColorEquiv.cpp | 126 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 127 GraphicBuffer::USAGE_SW_WRITE_RARELY; 314 sp<GraphicBuffer> refFrame; in main() 315 refFrame = new GraphicBuffer(refWidth, refHeight, in main() 328 sp<GraphicBuffer> equivFrame; in main() 329 equivFrame = new GraphicBuffer(equivWidth, equivHeight, in main()
|
D | hwcStress.cpp | 194 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 195 GraphicBuffer::USAGE_SW_WRITE_RARELY; 200 static vector <vector <sp<GraphicBuffer> > > frames; 421 vector <vector <sp<GraphicBuffer> > > selectedFrames; in main() 431 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() 500 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() 595 frames[row][col] = new GraphicBuffer(w, h, format, texUsage); in initFrames()
|
D | hwcTestLib.h | 126 void hwcTestSetPixel(android::GraphicBuffer *gBuf, unsigned char *buf, 128 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color, 130 void hwcTestFillColorHBlend(android::GraphicBuffer *gBuf,
|
D | hwcRects.cpp | 162 sp<GraphicBuffer> texture; 167 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 168 GraphicBuffer::USAGE_SW_WRITE_RARELY; 509 rect.texture = new GraphicBuffer(rect.sourceDim.width(), in parseRect()
|
/frameworks/base/services/surfaceflinger/ |
D | Layer.cpp | 219 const sp<GraphicBuffer>& buffer(mActiveBuffer); in setGeometry() 233 const sp<GraphicBuffer>& buffer(mActiveBuffer); in setPerFrameData() 338 const sp<GraphicBuffer>& activeBuffer(mActiveBuffer); in isProtected() 416 sp<GraphicBuffer> oldActiveBuffer = mActiveBuffer; in lockPageFlip() 552 sp<const GraphicBuffer> buf0(mActiveBuffer); in dump() 579 usage |= GraphicBuffer::USAGE_PROTECTED; in getEffectiveUsage() 581 usage |= GraphicBuffer::USAGE_HW_COMPOSER; in getEffectiveUsage()
|
D | Layer.h | 84 inline const sp<GraphicBuffer>& getActiveBuffer() const { return mActiveBuffer; } in getActiveBuffer() 109 sp<GraphicBuffer> mActiveBuffer;
|
/frameworks/base/opengl/tests/gralloc/ |
D | gralloc.cpp | 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888, in main()
|
/frameworks/base/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 80 const int yuvTexUsage = GraphicBuffer::USAGE_HW_TEXTURE | 81 GraphicBuffer::USAGE_SW_WRITE_RARELY; 90 static sp<GraphicBuffer> yuvTexBuffer; 96 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat, in setupYuvTexSurface()
|
/frameworks/base/libs/gui/tests/ |
D | SurfaceTexture_test.cpp | 547 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in TEST_F() 592 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in TEST_F() 652 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in TEST_F() 729 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in TEST_F() 848 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in TEST_F() 902 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in TEST_F()
|
/frameworks/base/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 185 const int yuvTexUsage = GraphicBuffer::USAGE_HW_TEXTURE | 186 GraphicBuffer::USAGE_SW_WRITE_RARELY; 190 static sp<GraphicBuffer> yuvTexBuffer; 196 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat, in setupYuvTexSurface()
|
/frameworks/base/media/libstagefright/ |
D | MediaBuffer.cpp | 60 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() 146 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const { in graphicBuffer()
|
D | SurfaceMediaSource.cpp | 152 status_t SurfaceMediaSource::requestBuffer(int slot, sp<GraphicBuffer>* buf) { in requestBuffer() 333 const sp<GraphicBuffer>& buffer(mSlots[bufIndex].mGraphicBuffer); in dequeueBuffer() 339 usage |= GraphicBuffer::USAGE_HW_TEXTURE; in dequeueBuffer() 341 sp<GraphicBuffer> graphicBuffer( in dequeueBuffer() 594 sp<GraphicBuffer> SurfaceMediaSource::getCurrentBuffer() const { in getCurrentBuffer()
|
/frameworks/base/media/libstagefright/include/ |
D | OMXNodeInstance.h | 65 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 115 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
|