Home
last modified time | relevance | path

Searched refs:GraphicBuffer (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/libs/ui/
DGraphicBuffer.cpp39 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 …]
DAndroid.mk47 GraphicBuffer.cpp \
/frameworks/base/include/ui/
DGraphicBuffer.h39 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/
DIGraphicBufferAlloc.cpp45 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()
DSurfaceTextureClient.cpp144 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()
DSurfaceTexture.cpp232 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/
DMediaBuffer.h29 class GraphicBuffer; variable
53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
72 sp<GraphicBuffer> graphicBuffer() const;
105 sp<GraphicBuffer> mGraphicBuffer;
DSurfaceMediaSource.h32 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/
DSurfaceTexture.h75 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;
DSurfaceTextureClient.h115 sp<GraphicBuffer> mSlots[NUM_BUFFER_SLOTS];
156 sp<GraphicBuffer> mLockedBuffer;
157 sp<GraphicBuffer> mPostedBuffer;
DISurfaceTexture.h54 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0;
/frameworks/base/include/surfaceflinger/
DIGraphicBufferAlloc.h30 class GraphicBuffer; variable
39 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
/frameworks/base/opengl/tests/hwc/
DhwcColorEquiv.cpp126 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()
DhwcStress.cpp194 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()
DhwcTestLib.h126 void hwcTestSetPixel(android::GraphicBuffer *gBuf, unsigned char *buf,
128 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color,
130 void hwcTestFillColorHBlend(android::GraphicBuffer *gBuf,
DhwcRects.cpp162 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/
DLayer.cpp219 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()
DLayer.h84 inline const sp<GraphicBuffer>& getActiveBuffer() const { return mActiveBuffer; } in getActiveBuffer()
109 sp<GraphicBuffer> mActiveBuffer;
/frameworks/base/opengl/tests/gralloc/
Dgralloc.cpp49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888, in main()
/frameworks/base/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp80 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/
DSurfaceTexture_test.cpp547 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/
Dgl2_yuvtex.cpp185 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/
DMediaBuffer.cpp60 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer()
146 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const { in graphicBuffer()
DSurfaceMediaSource.cpp152 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/
DOMXNodeInstance.h65 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
115 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,

12