Lines Matching refs:fDirectContext
114 GrDirectContext* directContext() override { return fDirectContext; } in directContext()
140 GrDirectContext* fDirectContext = nullptr; member in EGLTestHelper
145 fDirectContext = fGLESContextInfo.directContext(); in init()
147 if (!fDirectContext || !fGLCtx) { in init()
252 fDirectContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer()
269 sk_sp<SkImage> image = SkImage::MakeFromTexture(fDirectContext, in importHardwareBufferForRead()
297 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fDirectContext, in importHardwareBufferForWrite()
408 fDirectContext.reset(); in cleanup()
439 if (!fDirectContext) { in doClientSync()
443 fDirectContext->submit(true); in doClientSync()
458 GrDirectContext* directContext() override { return fDirectContext.get(); } in directContext()
506 sk_sp<GrDirectContext> fDirectContext; member in VulkanTestHelper
580 fDirectContext = GrDirectContext::MakeVulkan(fBackendContext); in init()
581 REPORTER_ASSERT(reporter, fDirectContext.get()); in init()
582 if (!fDirectContext) { in init()
813 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fDirectContext.get(), in importHardwareBufferForRead()
839 GrSemaphoresSubmitted submitted = fDirectContext->flush(info); in flushSurfaceAndSignalSemaphore()
840 fDirectContext->submit(); in flushSurfaceAndSignalSemaphore()
975 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fDirectContext.get(), in importHardwareBufferForWrite()