Lines Matching refs:GrContext
34 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext) { in Create()
39 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext, in Create()
41 GrContext* context = new GrContext; in Create()
60 GrContext::GrContext() : fUniqueID(next_id()) { in GrContext() function in GrContext
69 bool GrContext::init(GrBackend backend, GrBackendContext backendContext, in init()
82 void GrContext::initCommon(const GrContextOptions& options) { in initCommon()
106 GrContext::~GrContext() { in ~GrContext()
130 void GrContext::abandonContext() { in abandonContext()
150 void GrContext::resetContext(uint32_t state) { in resetContext()
155 void GrContext::freeGpuResources() { in freeGpuResources()
168 void GrContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) const { in getResourceCacheUsage()
181 void GrContext::OverBudgetCB(void* data) { in OverBudgetCB()
184 GrContext* context = reinterpret_cast<GrContext*>(data); in OverBudgetCB()
190 void GrContext::TextBlobCacheOverBudgetCB(void* data) { in TextBlobCacheOverBudgetCB()
197 GrContext* context = reinterpret_cast<GrContext*>(data); in TextBlobCacheOverBudgetCB()
203 void GrContext::flush(int flagsBitfield) { in flush()
235 bool GrContext::writeSurfacePixels(GrSurface* surface, in writeSurfacePixels()
370 bool GrContext::readSurfacePixels(GrSurface* src, in readSurfacePixels()
500 void GrContext::prepareSurfaceForExternalIO(GrSurface* surface) { in prepareSurfaceForExternalIO()
514 bool GrContext::copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, in copySurface()
552 void GrContext::flushSurfaceWrites(GrSurface* surface) { in flushSurfaceWrites()
561 int GrContext::getRecommendedSampleCount(GrPixelConfig config, in getRecommendedSampleCount()
580 GrDrawContext* GrContext::drawContext(GrRenderTarget* rt, const SkSurfaceProps* surfaceProps) { in drawContext()
585 bool GrContext::abandoned() const { in abandoned()
591 void test_pm_conversions(GrContext* ctx, int* pmToUPMValue, int* upmToPMValue) { in test_pm_conversions()
600 void GrContext::testPMConversionsIfNecessary(uint32_t flags) { in testPMConversionsIfNecessary()
611 const GrFragmentProcessor* GrContext::createPMToUPMEffect(GrTexture* texture, in createPMToUPMEffect()
626 const GrFragmentProcessor* GrContext::createUPMToPMEffect(GrTexture* texture, in createUPMToPMEffect()
641 bool GrContext::didFailPMUPMConversionTest() const { in didFailPMUPMConversionTest()
651 void GrContext::getResourceCacheLimits(int* maxTextures, size_t* maxTextureBytes) const { in getResourceCacheLimits()
661 void GrContext::setResourceCacheLimits(int maxTextures, size_t maxTextureBytes) { in setResourceCacheLimits()
668 void GrContext::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()