Home
last modified time | relevance | path

Searched refs:getCurrentBuffer (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureGLToGL_test.cpp56 sp<GraphicBuffer> buf = mST->getCurrentBuffer(); in TEST_F()
74 buf = mST->getCurrentBuffer(); in TEST_F()
183 buffers[i] = mST->getCurrentBuffer(); in TEST_F()
230 buffers[i] = mST->getCurrentBuffer(); in TEST_F()
284 buffer = mST->getCurrentBuffer(); in TEST_F()
322 buffer = mST->getCurrentBuffer(); in TEST_F()
DSurfaceTextureClient_test.cpp399 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[0]); in TEST_F()
401 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[1]); in TEST_F()
403 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[2]); in TEST_F()
418 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[0]); in TEST_F()
421 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[1]); in TEST_F()
424 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[2]); in TEST_F()
434 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[0]); in TEST_F()
440 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[1]); in TEST_F()
446 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[2]); in TEST_F()
459 EXPECT_EQ(mST->getCurrentBuffer().get(), firstBuf); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.h157 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr, sp<Fence>* outFence = nullptr) const;
DBufferQueueLayer.cpp377 mActiveBuffer = mConsumer->getCurrentBuffer(&mActiveBufferSlot, &mActiveBufferFence); in updateActiveBuffer()
DBufferLayerConsumer.cpp377 sp<GraphicBuffer> BufferLayerConsumer::getCurrentBuffer(int* outSlot, sp<Fence>* outFence) const { in getCurrentBuffer() function in android::BufferLayerConsumer
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h182 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
/frameworks/native/libs/gui/
DGLConsumer.cpp806 sp<GraphicBuffer> GLConsumer::getCurrentBuffer(int* outSlot) const { in getCurrentBuffer() function in android::GLConsumer