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

Function renderModeToString

plugins/quickinspector/quickinspector.cpp:230–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230static QByteArray renderModeToString(QuickInspectorInterface::RenderMode customRenderMode)
231{
232 switch (customRenderMode) {
233 case QuickInspectorInterface::VisualizeClipping:
234 return QByteArray("clip");
235 case QuickInspectorInterface::VisualizeOverdraw:
236 return QByteArray("overdraw");
237 case QuickInspectorInterface::VisualizeBatches:
238 return QByteArray("batches");
239 case QuickInspectorInterface::VisualizeChanges:
240 return QByteArray("changes");
241 case QuickInspectorInterface::VisualizeTraces:
242 case QuickInspectorInterface::NormalRendering:
243 break;
244 }
245 return QByteArray();
246}
247
248QMutex RenderModeRequest::mutex;
249

Callers 1

applyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected