| 278 | } |
| 279 | |
| 280 | SessionGuard::SessionGuard(ref_ptr<GraphicsContext> context, Batcher & batcher, Batcher::TFlushFn && flusher) |
| 281 | : m_context(context) |
| 282 | , m_batcher(batcher) |
| 283 | { |
| 284 | m_batcher.StartSession(std::move(flusher)); |
| 285 | } |
| 286 | |
| 287 | SessionGuard::~SessionGuard() |
| 288 | { |
nothing calls this directly
no test coverage detected