Searched refs:GrContext (Results 1 – 11 of 11) sorted by relevance
102 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext()103 void setGrContext(GrContext* cxt) { mGrContext.reset(cxt); } in setGrContext()159 sk_sp<GrContext> mGrContext;
24 class GrContext; variable
116 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext()
138 mRenderThread.setGrContext(GrContext::Create(GrBackend::kOpenGL_GrBackend, in initialize()
107 mRenderThread.setGrContext(GrContext::Create(kVulkan_GrBackend, in initialize()
38 class GrContext; variable116 GrContext* getGrContext() const;
108 GrContext* RenderState::getGrContext() const { in getGrContext()
42 sk_sp<GrContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto()46 grContext.reset(GrContext::Create(GrBackend::kOpenGL_GrBackend, in copyImageInto()
36 static bool DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer);
33 bool LayerDrawable::DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer) { in DrawLayer()
155 GrContext* context = thread.getGrContext(); in prepareToDraw()