MCPcopy Create free account
hub / github.com/baldurk/renderdoc / getCaptureContext

Function getCaptureContext

qrenderdoc/Code/QRDUtils.cpp:483–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481Q_DECLARE_METATYPE(GPUAddressPtr);
482
483ICaptureContext *getCaptureContext(const QWidget *widget)
484{
485 void *ctxptr = NULL;
486
487 while(widget && !ctxptr)
488 {
489 ctxptr = widget->property("ICaptureContext").value<void *>();
490 widget = widget->parentWidget();
491 }
492
493 return (ICaptureContext *)ctxptr;
494}
495
496QString ResIdTextToString(RichResourceTextPtr ptr)
497{

Callers 10

cacheTextMethod · 0.85
cacheDocumentMethod · 0.85
cacheAddressMethod · 0.85
RichResourceTextPaintFunction · 0.85
setTextMethod · 0.85
sortMethod · 0.85
copySelectionMethod · 0.85
dataMethod · 0.85

Calls 2

propertyMethod · 0.80
parentWidgetMethod · 0.80

Tested by

no test coverage detected