QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GraphicsSetup Namespace Reference

Functions

void configureMainWindow (QQuickWindow *window)
void configureMainWindowOnCreation ()

Detailed Description

Low-level RHI / scene-graph configuration for the main QQuickWindow. Call before the first scene graph initialization. Environment variables: QGC_RHI_DEBUG - enable RHI debug layer, debug markers and GPU timestamps QGC_RHI_PIPELINE_CACHE - "0" disables the on-disk pipeline cache (default on) QGC_HDR_OUTPUT - request HDR display output (diagnostic; see note in .cc) QGC_FORCE_VIDEO_GPU - "low:high" LUID hex pair to force a specific D3D adapter (Windows only)

Function Documentation

◆ configureMainWindow()

void GraphicsSetup::configureMainWindow ( QQuickWindow * window)

Definition at line 224 of file GraphicsSetup.cc.

References configureMainWindow().

Referenced by configureMainWindow().

◆ configureMainWindowOnCreation()

void GraphicsSetup::configureMainWindowOnCreation ( )

Applies configureMainWindow() to the next QQuickWindow as soon as its native surface is created, before it can be exposed. Showing a window during QML loading can initialize its scene graph at once (Android exposes synchronously), so call this before loading the root window.

Definition at line 275 of file GraphicsSetup.cc.

References configureMainWindowOnCreation().

Referenced by configureMainWindowOnCreation().