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

Method cacheAddress

qrenderdoc/Code/QRDUtils.cpp:444–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442Q_DECLARE_METATYPE(RichResourceTextPtr);
443
444void GPUAddress::cacheAddress(const QWidget *widget)
445{
446 if(!ctxptr)
447 ctxptr = getCaptureContext(widget);
448
449 // bail out if we don't have a context
450 if(!ctxptr)
451 return;
452
453 cacheAddress(*ctxptr);
454}
455
456void GPUAddress::cacheAddress(const ICaptureContext &ctx)
457{

Callers 4

RichResourceTextPaintFunction · 0.80
RichResourceTextFormatFunction · 0.80

Calls 3

getCaptureContextFunction · 0.85
ResourceIdFunction · 0.50
GetBuffersMethod · 0.45

Tested by

no test coverage detected