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()
405 fGrContext.reset(); in cleanup()
431 if (!fGrContext) { in doClientSync()
435 fGrContext->contextPriv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync()
450 GrContext* grContext() override { return fGrContext.get(); } in grContext()
495 sk_sp<GrContext> fGrContext; member in VulkanTestHelper
569 fGrContext = GrContext::MakeVulkan(fBackendContext); in init()
570 REPORTER_ASSERT(reporter, fGrContext.get()); in init()
571 if (!fGrContext) { in init()
813 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fGrContext.get(), in importHardwareBufferForRead()
836 GrSemaphoresSubmitted submitted = fGrContext->flushAndSignalSemaphores(1, &semaphore); in flushSurfaceAndSignalSemaphore()
971 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext.get(), in importHardwareBufferForWrite()