Lines Matching defs:context

30     GrRecordingContext* context() { return static_cast<GrRecordingContext*>(fContext); }
31 const GrRecordingContext* context() const {
35 GrProxyProvider* proxyProvider() { return this->context()->proxyProvider(); }
36 const GrProxyProvider* proxyProvider() const { return this->context()->proxyProvider(); }
38 GrDrawingManager* drawingManager() { return this->context()->drawingManager(); }
40 SkArenaAlloc* recordTimeAllocator() { return this->context()->arenas().recordTimeAllocator(); }
42 return this->context()->arenas().recordTimeSubRunAllocator();
44 GrRecordingContext::Arenas arenas() { return this->context()->arenas(); }
46 GrRecordingContext::OwnedArenas&& detachArenas() { return this->context()->detachArenas(); }
49 this->context()->recordProgramInfo(programInfo);
53 this->context()->detachProgramData(dst);
56 GrTextBlobCache* getTextBlobCache() { return this->context()->getTextBlobCache(); }
58 GrThreadSafeCache* threadSafeCache() { return this->context()->threadSafeCache(); }
66 * ensure its lifetime is tied to that of the context.
70 GrAuditTrail* auditTrail() { return this->context()->fAuditTrail.get(); }
77 AutoSuppressWarningMessages(GrRecordingContext* context) : fContext(context) {
86 void incrSuppressWarningMessages() { ++this->context()->fSuppressWarningMessages; }
87 void decrSuppressWarningMessages() { --this->context()->fSuppressWarningMessages; }
92 if (this->context()->fSuppressWarningMessages > 0) {
100 return &this->context()->fStats;
105 DMSAAStats& dmsaaStats() { return this->context()->fDMSAAStats; }