Searched refs:directContext (Results 1 – 2 of 2) sorted by relevance
60 GrDirectContext* directContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() local61 if (directContext == nullptr) { in onDraw()84 directContext->flushAndSubmit(); in onDraw()103 SkSurfaces::RenderTarget(directContext, skgpu::Budgeted::kYes, surfaceInfo); in onDraw()162 directContext->resetContext(grState); in onDraw()173 … directContext->flushAndSubmit(); // need this flush for the single op that draws into the stencil in onDraw()211 directContext->resetContext(); in onDraw()
540 GrDirectContext* directContext = c->recordingContext()->asDirectContext(); in draw() local542 GrDirectContext::DirectContextID id = directContext->directContextID(); in draw()545 SkMeshes::CopyVertexBuffer(directContext, cpuMesh.refVertexBuffer()); in draw()553 SkMeshes::CopyIndexBuffer(directContext, cpuMesh.refIndexBuffer()); in draw()