QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstQgcRenderTarget.h
Go to the documentation of this file.
1#pragma once
2
3namespace GstQgc {
4
16
18{
23 bool egl = false;
24
25 bool isOpenGlOnEgl() const { return (backend == RenderBackend::OpenGL) && egl; }
26
29 bool sharesGlContext() const noexcept;
30
31 friend bool operator==(const RenderTarget&, const RenderTarget&) = default;
32};
33
37
38const char* toString(RenderBackend backend) noexcept;
39
42const char* zeroCopyPathName(RenderBackend backend) noexcept;
43
44} // namespace GstQgc
GstVideoSink that pushes decoded frames into a Qt QVideoSink; sole sink in qgcvideosinkbin....
RenderTarget currentRenderTarget()
const char * toString(RenderBackend backend) noexcept
RenderBackend
Graphics API Qt Quick renders the video with, which decides the GPU memory qgcqvideosink can import.
@ Unknown
No scene graph yet, and the GUI thread hasn't recorded the requested API either.
@ Null
QRhi's Null backend or the software renderer: no GPU import.
const char * zeroCopyPathName(RenderBackend backend) noexcept
bool sharesGlContext() const noexcept