| 178 | } |
| 179 | |
| 180 | std::optional<SerializedViewOperations> DeferredViewOperations::dequeueOperations() { |
| 181 | if (_buffer.empty()) { |
| 182 | return std::nullopt; |
| 183 | } |
| 184 | |
| 185 | SerializedViewOperations operations; |
| 186 | operations.buffer = &_buffer; |
| 187 | operations.attachedValues = _attachedValues.build(); |
| 188 | |
| 189 | return {std::move(operations)}; |
| 190 | } |
| 191 | |
| 192 | void DeferredViewOperations::clear() { |
| 193 | _lastAnimator = nullptr; |
no test coverage detected