Searched refs:glInterface (Results 1 – 4 of 4) sorted by relevance
55 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in SetUpGrContext() local56 if (glInterface.get() == nullptr) { in SetUpGrContext()68 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(std::move(glInterface), options)); in SetUpGrContext()74 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options)); in SetUpGrContext()
130 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in InitGrContext() local131 if (glInterface == nullptr) { in InitGrContext()140 grContext_ = GrDirectContext::MakeGL(std::move(glInterface), options); in InitGrContext()
128 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in CreateGPUCanvas() local130 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(std::move(glInterface))); in CreateGPUCanvas()132 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface))); in CreateGPUCanvas()
81 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in BuildFromGL() local95 grContext_ = GrDirectContext::MakeGL(std::move(glInterface), grOptions); in BuildFromGL()