Lines Matching defs:context
35 GrDirectContext* context() { return static_cast<GrDirectContext*>(fContext); }
36 const GrDirectContext* context() const { return static_cast<const GrDirectContext*>(fContext); }
38 GrStrikeCache* getGrStrikeCache() { return this->context()->fStrikeCache.get(); }
42 * if necessary. The GrSurfaceProxy array is treated as a hint. If it is supplied the context
78 SkTaskGroup* getTaskGroup() { return this->context()->fTaskGroup.get(); }
80 GrResourceProvider* resourceProvider() { return this->context()->fResourceProvider.get(); }
82 return this->context()->fResourceProvider.get();
85 GrResourceCache* getResourceCache() { return this->context()->fResourceCache.get(); }
87 GrGpu* getGpu() { return this->context()->fGpu.get(); }
88 const GrGpu* getGpu() const { return this->context()->fGpu.get(); }
92 return this->context()->onGetAtlasManager();
97 return this->context()->onGetSmallPathAtlasMgr();
107 return this->context()->fPersistentCache;
111 return this->context()->fMappedBufferManager.get();