Searched refs:fGrContext (Results 1 – 7 of 7) sorted by relevance
/external/skia/tests/ |
D | GrContextFactoryTest.cpp | 55 if (!info1.fGrContext) { 60 info1.fGrContext->ref(); 66 REPORTER_ASSERT(reporter, info2.fGrContext); 68 REPORTER_ASSERT(reporter, info1.fGrContext != info2.fGrContext); 71 info1.fGrContext->unref();
|
D | ImageTest.cpp | 403 SkImage* otherContextImage = create_gpu_image(otherContextInfo.fGrContext); in DEF_GPUTEST_FOR_NATIVE_CONTEXT()
|
/external/skia/src/gpu/ |
D | GrContextFactory.cpp | 41 if (!context.fGrContext->unique()) { in destroyContexts() 42 context.fGrContext->abandonContext(); in destroyContexts() 44 context.fGrContext->unref(); in destroyContexts() 58 context.fGrContext->abandonContext(); in abandonContexts() 72 return ContextInfo(context.fGrContext, context.fGLContext); in getContextInfo() 150 context.fGrContext = SkRef(grCtx.get()); in getContextInfo() 153 return ContextInfo(context.fGrContext, context.fGLContext); in getContextInfo()
|
D | GrContextFactory.h | 115 : fGrContext(nullptr), fGLContext(nullptr) { } in ContextInfo() 117 : fGrContext(grContext), fGLContext(glContext) { } in ContextInfo() 118 GrContext* fGrContext; member 133 return this->getContextInfo(type, options).fGrContext; 142 GrContext* fGrContext; member
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/ |
D | org_skia_canvasproof_GaneshPictureRenderer.cpp | 57 SkAutoTUnref<GrContext> fGrContext; member 59 if (!fGrContext) { in render() 61 fGrContext.reset(GrContext::Create(kOpenGL_GrBackend, 0)); in render() 62 if (!fGrContext) { in render() 67 render_picture(fGrContext, w, h, p, m); in render()
|
/external/skia/dm/ |
D | DM.cpp | 1214 test(reporter, context.fGrContext); in call_test() 1219 test(reporter, context.fGrContext, context.fGLContext); in call_test() 1267 if (context.fGrContext) { in RunWithGPUTestContexts() 1272 if (context.fGrContext) { in RunWithGPUTestContexts()
|
D | DMSrcSink.cpp | 888 fGrContext->caps()->maxTextureSize(); in draw()
|