Home
last modified time | relevance | path

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

/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp53 mOpMode(OpMode::attachedToGL) { in SurfaceTexture()
78 mOpMode(OpMode::detached) { in SurfaceTexture()
132 case OpMode::attachedToConsumer: in acquireBufferLocked()
134 case OpMode::attachedToGL: in acquireBufferLocked()
137 case OpMode::detached: in acquireBufferLocked()
168 if (mOpMode != OpMode::attachedToGL) { in detachFromContext()
175 mOpMode = OpMode::detached; in detachFromContext()
191 if (mOpMode != OpMode::detached) { in attachToContext()
207 if (mOpMode == OpMode::detached) { in takeConsumerOwnership()
208 mOpMode = OpMode::attachedToConsumer; in takeConsumerOwnership()
[all …]
DEGLConsumer.cpp130 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage()
144 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage()
175 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage()
234 if (st.mOpMode != SurfaceTexture::OpMode::attachedToGL) { in updateAndReleaseLocked()
462 st.mOpMode = SurfaceTexture::OpMode::attachedToGL; in attachToContext()
/frameworks/native/libs/nativedisplay/include/surfacetexture/
DSurfaceTexture.h443 enum class OpMode { detached, attachedToConsumer, attachedToGL }; enum
455 OpMode mOpMode;