Home
last modified time | relevance | path

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

/external/skia/tools/gpu/
DGrContextFactory.cpp58 if (context.fTestContext) { in destroyContexts()
59 context.fTestContext->makeCurrent(); in destroyContexts()
66 delete context.fTestContext; in destroyContexts()
74 if (context.fTestContext) { in abandonContexts()
75 context.fTestContext->makeCurrent(); in abandonContexts()
76 context.fTestContext->testAbandon(); in abandonContexts()
77 delete(context.fTestContext); in abandonContexts()
78 context.fTestContext = nullptr; in abandonContexts()
89 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
90 context.fTestContext->makeCurrent(); in releaseResourcesAndAbandonContexts()
[all …]
DGrContextFactory.h163 TestContext* fTestContext; member
185 TestContext* testContext() const { return fTestContext; } in testContext()
189 return static_cast<GLTestContext*>(fTestContext); in glContext()
197 , fTestContext(testContext) in ContextInfo()
203 TestContext* fTestContext = nullptr; variable
/external/skia/tests/
DGpuSampleLocationsTest.cpp152 GLTestSampleLocationsInterface() : fTestContext(sk_gpu_test::CreateDebugGLTestContext()) { in GLTestSampleLocationsInterface()
153 fStandard = fTestContext->gl()->fStandard; in GLTestSampleLocationsInterface()
154 fExtensions = fTestContext->gl()->fExtensions; in GLTestSampleLocationsInterface()
155 fFunctions = fTestContext->gl()->fFunctions; in GLTestSampleLocationsInterface()
163 fTestContext->gl()->fFunctions.fGetIntegerv(pname, params); in GLTestSampleLocationsInterface()
183 std::unique_ptr<sk_gpu_test::GLTestContext> fTestContext; member in GLTestSampleLocationsInterface