Lines Matching refs:OpMode
53 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()
229 if (mOpMode == OpMode::attachedToConsumer) { in releaseConsumerOwnership()
230 mOpMode = OpMode::detached; in releaseConsumerOwnership()
479 if (mOpMode != OpMode::attachedToConsumer) { in dequeueBuffer()