MCPcopy Create free account
hub / github.com/KDAB/GammaRay / checkFeatures

Method checkFeatures

plugins/quickinspector/quickinspector.cpp:607–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607void QuickInspector::checkFeatures()
608{
609 Features f;
610 if (!m_window) {
611 emit features(f);
612 return;
613 }
614
615 if (m_window->rendererInterface()->graphicsApi() == QSGRendererInterface::OpenGL)
616 f = AllCustomRenderModes;
617 else if (m_window->rendererInterface()->graphicsApi() == QSGRendererInterface::Software)
618 f = AnalyzePainting;
619
620 emit features(f);
621}
622
623void QuickInspector::setOverlaySettings(const GammaRay::QuickDecorationsSettings &settings)
624{

Callers 2

testCustomRenderModesMethod · 0.45
QuickInspectorWidgetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected