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()
251 fGrContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer()
268 sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext, in importHardwareBufferForRead()
296 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext, in importHardwareBufferForWrite()
406 fGrContext.reset(); in cleanup()
432 if (!fGrContext) { in doClientSync()
436 fGrContext->contextPriv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync()
451 GrContext* grContext() override { return fGrContext.get(); } in grContext()
496 sk_sp<GrContext> fGrContext; member in VulkanTestHelper
570 fGrContext = GrContext::MakeVulkan(fBackendContext); in init()
571 REPORTER_ASSERT(reporter, fGrContext.get()); in init()
572 if (!fGrContext) { in init()
814 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fGrContext.get(), in importHardwareBufferForRead()
837 GrSemaphoresSubmitted submitted = fGrContext->flushAndSignalSemaphores(1, &semaphore); in flushSurfaceAndSignalSemaphore()
972 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext.get(), in importHardwareBufferForWrite()