Home
last modified time | relevance | path

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

/frameworks/av/services/camera/virtualcamera/util/
DEglSurfaceTexture.cc43 mGlConsumer = sp<GLConsumer>::make( in EglSurfaceTexture()
45 mGlConsumer->setName(String8("VirtualCameraEglSurfaceTexture")); in EglSurfaceTexture()
46 mGlConsumer->setDefaultBufferSize(mWidth, mHeight); in EglSurfaceTexture()
47 mGlConsumer->setConsumerUsageBits(GRALLOC_USAGE_HW_TEXTURE); in EglSurfaceTexture()
48 mGlConsumer->setDefaultBufferFormat(AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420); in EglSurfaceTexture()
64 return mGlConsumer->getCurrentBuffer(); in getCurrentBuffer()
69 mGlConsumer->setFrameAvailableListener(listener); in setFrameAvailableListener()
73 return mSurface->waitForNextFrame(mGlConsumer->getFrameNumber(), in waitForNextFrame()
78 mGlConsumer->updateTexImage(); in updateTexture()
88 mGlConsumer->getTransformMatrix(matrix.data()); in getTransformMatrix()
DEglSurfaceTexture.h85 sp<GLConsumer> mGlConsumer; variable
/frameworks/av/cmds/screenrecord/
DFrameOutput.cpp73 mGlConsumer = new GLConsumer(consumer, mExtTextureName, in createInputSurface()
75 mGlConsumer->setName(String8("virtual display")); in createInputSurface()
76 mGlConsumer->setDefaultBufferSize(width, height); in createInputSurface()
78 mGlConsumer->setConsumerUsageBits(GRALLOC_USAGE_HW_TEXTURE); in createInputSurface()
80 mGlConsumer->setFrameAvailableListener(this); in createInputSurface()
117 mGlConsumer->updateTexImage(); in copyFrame()
118 mGlConsumer->getTransformMatrix(texMatrix); in copyFrame()
DOverlay.cpp177 mGlConsumer = new GLConsumer(consumer, mExtTextureName, in setup_l()
179 mGlConsumer->setName(String8("virtual display")); in setup_l()
180 mGlConsumer->setDefaultBufferSize(width, height); in setup_l()
182 mGlConsumer->setConsumerUsageBits(GRALLOC_USAGE_HW_TEXTURE); in setup_l()
184 mGlConsumer->setFrameAvailableListener(this); in setup_l()
193 mGlConsumer.clear(); in release_l()
204 mGlConsumer->updateTexImage(); in processFrame_l()
205 mGlConsumer->getTransformMatrix(texMatrix); in processFrame_l()
206 nsecs_t monotonicNsec = mGlConsumer->getTimestamp(); in processFrame_l()
207 nsecs_t frameNumber = mGlConsumer->getFrameNumber(); in processFrame_l()
DFrameOutput.h82 sp<GLConsumer> mGlConsumer; variable
DOverlay.h132 sp<GLConsumer> mGlConsumer; variable
/frameworks/native/libs/gui/tests/
DMultiTextureConsumer_test.cpp40 mGlConsumer = new GLConsumer(consumer, TEX_ID, in SetUp()
63 sp<GLConsumer> mGlConsumer; member in android::MultiTextureConsumerTest
112 mGlConsumer->updateTexImage(); in TEST_F()