multicam: refactor to heavily optimize multicam monitor retrieval

This commit is contained in:
itsmattkc
2022-09-29 17:50:09 -07:00
parent 63163ba23e
commit 6e183fe4be
25 changed files with 300 additions and 162 deletions
+2
View File
@@ -398,6 +398,8 @@ void ViewerDisplayWidget::OnPaint()
} else if (TexturePtr texture = load_frame_.value<TexturePtr>()) {
// This is a GPU texture, switch to it directly
texture_ = texture;
} else {
texture_ = LoadCustomTextureFromFrame(load_frame_);
}
emit TextureChanged(texture_);