Lines Matching refs:fGrContext
112 GrContext* grContext() override { return fGrContext; } in grContext()
138 GrContext* fGrContext = nullptr; member in EGLTestHelper
143 fGrContext = fGLESContextInfo.grContext(); in init()
145 if (!fGrContext || !fGLCtx) { in init()
250 fGrContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer()
267 sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext, in importHardwareBufferForRead()
295 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext, in importHardwareBufferForWrite()
403 fGrContext.reset(); in cleanup()
434 if (!fGrContext) { in doClientSync()
438 fGrContext->priv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync()
453 GrContext* grContext() override { return fGrContext.get(); } in grContext()
501 sk_sp<GrContext> fGrContext; member in VulkanTestHelper
575 fGrContext = GrContext::MakeVulkan(fBackendContext); in init()
576 REPORTER_ASSERT(reporter, fGrContext.get()); in init()
577 if (!fGrContext) { in init()
801 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fGrContext.get(), in importHardwareBufferForRead()
824 GrSemaphoresSubmitted submitted = fGrContext->flush(kNone_GrFlushFlags, 1, &semaphore); in flushSurfaceAndSignalSemaphore()
959 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext.get(), in importHardwareBufferForWrite()