Home
last modified time | relevance | path

Searched refs:mOpMode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp55 , mOpMode(OpMode::attachedToGL) { in SurfaceTexture()
80 , mOpMode(OpMode::detached) { in SurfaceTexture()
133 switch (mOpMode) { in acquireBufferLocked()
170 if (mOpMode != OpMode::attachedToGL) { in detachFromContext()
177 mOpMode = OpMode::detached; in detachFromContext()
193 if (mOpMode != OpMode::detached) { in attachToContext()
215 if (mOpMode == OpMode::detached) { in attachToView()
216 mOpMode = OpMode::attachedToView; in attachToView()
237 if (mOpMode == OpMode::attachedToView) { in detachFromView()
238 mOpMode = OpMode::detached; in detachFromView()
[all …]
DEGLConsumer.cpp129 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage()
139 EGC_LOGV("releaseTexImage: (slot=%d, mOpMode=%d)", buf, (int)st.mOpMode); in releaseTexImage()
143 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage()
174 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage()
232 if (st.mOpMode != SurfaceTexture::OpMode::attachedToGL) { in updateAndReleaseLocked()
459 st.mOpMode = SurfaceTexture::OpMode::attachedToGL; in attachToContext()
DSurfaceTexture.h435 OpMode mOpMode; variable