Lines Matching refs:GrRecordingContext
12 #include "include/gpu/GrRecordingContext.h"
25 /** Class that exposes methods on GrRecordingContext that are only intended for use internal to
26 Skia. This class is purely a privileged window into GrRecordingContext. It should never have
30 GrRecordingContext* context() { return static_cast<GrRecordingContext*>(fContext); }
31 const GrRecordingContext* context() const {
32 return static_cast<const GrRecordingContext*>(fContext);
44 GrRecordingContext::Arenas arenas() { return this->context()->arenas(); }
46 GrRecordingContext::OwnedArenas&& detachArenas() { return this->context()->detachArenas(); }
52 void detachProgramData(SkTArray<GrRecordingContext::ProgramData>* dst) {
77 AutoSuppressWarningMessages(GrRecordingContext* context) : fContext(context) {
84 GrRecordingContext* fContext;
99 GrRecordingContext::Stats* stats() {
104 using DMSAAStats = GrRecordingContext::DMSAAStats;
111 * Create a GrRecordingContext without a resource cache
113 static sk_sp<GrRecordingContext> MakeDDL(sk_sp<GrContextThreadSafeProxy>);
205 explicit GrRecordingContextPriv(GrRecordingContext* rContext) : GrImageContextPriv(rContext) {}
216 friend class GrRecordingContext; // to construct/copy this type.
221 inline GrRecordingContextPriv GrRecordingContext::priv() { return GrRecordingContextPriv(this); }
223 inline const GrRecordingContextPriv GrRecordingContext::priv () const { // NOLINT(readability-const-return-type)
224 return GrRecordingContextPriv(const_cast<GrRecordingContext*>(this));