31 const Caps*
caps()
const {
return fRecorder->fSharedContext->caps(); }
36 return fRecorder->fRuntimeEffectDict.get();
39 return fRecorder->fRuntimeEffectDict.get();
42 return fRecorder->fSharedContext->shaderCodeDictionary();
45 return fRecorder->fSharedContext->shaderCodeDictionary();
49 return fRecorder->fSharedContext->rendererProvider();
53 return fRecorder->fSharedContext->isProtected();
65 return fRecorder->fTextBlobCache.get();
73 uint32_t
uniqueID()
const {
return fRecorder->fUniqueID; }
76 uint32_t nextRecordingID()
const {
return fRecorder->fNextRecordingID; }
81#if defined(GRAPHITE_TEST_UTILS)
82 bool deviceIsRegistered(Device*)
const;
83 ResourceCache* resourceCache() {
return fRecorder->fResourceProvider->resourceCache(); }
86 Context* context() {
return fRecorder->fContext; }
90 explicit RecorderPriv(
Recorder* recorder) : fRecorder(recorder) {}
91 RecorderPriv& operator=(
const RecorderPriv&) =
delete;
94 const RecorderPriv* operator&()
const =
delete;
95 RecorderPriv* operator&() =
delete;