Home
last modified time | relevance | path

Searched refs:fDirectContext (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tools/gpu/vk/
DVkTestHelper.cpp80 fDirectContext = GrDirectContext::MakeVulkan(fBackendContext); in init()
81 if (!fDirectContext) { in init()
91 if (fDirectContext) { in cleanup()
92 fDirectContext->flushAndSubmit(true); in cleanup()
95 fDirectContext.reset(); in cleanup()
DVkTestHelper.h34 GrDirectContext* directContext() { return fDirectContext.get(); } in directContext()
65 sk_sp<GrDirectContext> fDirectContext; variable
/third_party/skia/tests/
DVkHardwareBufferTest.cpp114 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()
[all …]