Home
last modified time | relevance | path

Searched refs:directContext (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp60 GrDirectContext* directContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() local
61 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()
173directContext->flushAndSubmit(); // need this flush for the single op that draws into the stencil in onDraw()
211 directContext->resetContext(); in onDraw()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp540 GrDirectContext* directContext = c->recordingContext()->asDirectContext(); in draw() local
542 GrDirectContext::DirectContextID id = directContext->directContextID(); in draw()
545 SkMeshes::CopyVertexBuffer(directContext, cpuMesh.refVertexBuffer()); in draw()
553 SkMeshes::CopyIndexBuffer(directContext, cpuMesh.refIndexBuffer()); in draw()