Home
last modified time | relevance | path

Searched refs:OpMode (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()
134 case OpMode::attachedToView: in acquireBufferLocked()
137 case OpMode::attachedToGL: in acquireBufferLocked()
140 case OpMode::detached: 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()
[all …]
DSurfaceTexture.h425 enum class OpMode { detached, attachedToView, attachedToGL }; enum
435 OpMode mOpMode;
DEGLConsumer.cpp129 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { 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()