Home | History | Annotate | Download | only in ui

Lines Matching refs:State

50             State::VALID : State::INVALID),
52 mSignalTime(mState == State::INVALID ?
58 State::VALID : State::INVALID),
60 mSignalTime(mState == State::INVALID ?
65 : mState(Fence::isValidTimestamp(signalTime) ? State::VALID : State::INVALID),
75 if (CC_UNLIKELY(src.state != Snapshot::State::SIGNAL_TIME)) {
76 // Applying Snapshot::State::FENCE, could change the valid state of the
83 if (src.state == Snapshot::State::EMPTY) {
106 // We store the valid state in the constructors and return it here.
107 // This lets release code remember the valid state even after the
109 return mState != State::INVALID;
141 if (CC_UNLIKELY(mState == State::FORCED_VALID_FOR_TEST)) {
184 State::FORCED_VALID_FOR_TEST : State::INVALID),
186 mSignalTime(mState == State::INVALID ?
203 : state(State::FENCE), fence(srcFence) {
207 : state(State::SIGNAL_TIME), signalTime(srcSignalTime) {
211 constexpr size_t min = sizeof(state);
212 switch (state) {
213 case State::EMPTY:
215 case State::FENCE:
217 case State::SIGNAL_TIME:
224 return state == State::FENCE ? fence->getFdCount() : 0u;
233 FlattenableUtils::write(buffer, size, state);
234 switch (state) {
235 case State::EMPTY:
237 case State::FENCE:
239 case State::SIGNAL_TIME:
249 if (size < sizeof(state)) {
253 FlattenableUtils::read(buffer, size, state);
254 switch (state) {
255 case State::EMPTY:
257 case State::FENCE:
260 case State::SIGNAL_TIME: