MCPcopy Create free account
hub / github.com/78/tenbox / SubmitFrame

Method SubmitFrame

src/runtime/runtime_service.cpp:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145// ── ManagedDisplayPort ───────────────────────────────────────────────
146
147void ManagedDisplayPort::SubmitFrame(DisplayFrame frame) {
148 std::function<void(DisplayFrame)> handler;
149 {
150 std::lock_guard<std::mutex> lock(mutex_);
151 handler = frame_handler_;
152 }
153 if (handler) handler(std::move(frame));
154}
155
156void ManagedDisplayPort::SubmitCursor(const CursorInfo& cursor) {
157 std::function<void(const CursorInfo&)> handler;

Callers 1

SetupVirtioGpuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected