Home
last modified time | relevance | path

Searched refs:LocalCoords (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/gpu/
DGrDefaultGeoProcFactory.h103 struct LocalCoords { struct
110 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} in LocalCoords() argument
111 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { in LocalCoords() function
122 const LocalCoords&, argument
132 const LocalCoords&,
DGrDefaultGeoProcFactory.cpp300 const LocalCoords& localCoords, in Create()
305 flags |= localCoords.fType == LocalCoords::kHasExplicit_Type ? kLocalCoord_GPFlag : 0; in Create()
306 flags |= localCoords.fType == LocalCoords::kHasTransformed_Type ? in Create()
311 bool localCoordsWillBeRead = localCoords.fType != LocalCoords::kUnused_Type; in Create()
326 const LocalCoords& localCoords, in CreateForDeviceSpace()
329 if (LocalCoords::kUnused_Type != localCoords.fType) { in CreateForDeviceSpace()
330 SkASSERT(LocalCoords::kUsePosition_Type == localCoords.fType); in CreateForDeviceSpace()
341 LocalCoords inverted(LocalCoords::kUsePosition_Type, &invert); in CreateForDeviceSpace()
/external/skia/src/gpu/batches/
DGrNonAAFillRectBatch.cpp67 LocalCoords localCoords(hasExplicitLocalCoords ? LocalCoords::kHasExplicit_Type : in create_gp()
68 LocalCoords::kUsePosition_Type, in create_gp()
72 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in create_gp()
75 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix); in create_gp()
DGrAAFillRectBatch.cpp50 GrDefaultGeoProcFactory::LocalCoords::Type localCoordsType) { in create_fill_rect_gp()
66 if (LocalCoords::kHasExplicit_Type == localCoordsType) { in create_fill_rect_gp()
67 LocalCoords localCoords(localCoordsType); in create_fill_rect_gp()
70 LocalCoords localCoords(overrides.readsLocalCoords() ? localCoordsType : in create_fill_rect_gp()
71 LocalCoords::kUnused_Type); in create_fill_rect_gp()
241 GrDefaultGeoProcFactory::LocalCoords::kUsePosition_Type); in CreateGP()
288 GrDefaultGeoProcFactory::LocalCoords::kHasExplicit_Type); in CreateGP()
DGrNonAAStrokeRectBatch.cpp114 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws()
115 LocalCoords::kUnused_Type); in onPrepareDraws()
DGrDrawVerticesBatch.cpp24 LocalCoords localCoords(hasLocalCoords ? LocalCoords::kHasExplicit_Type : in set_vertex_attributes()
25 LocalCoords::kUsePosition_Type); in set_vertex_attributes()
DGrTessellatingPathRenderer.cpp181 LocalCoords localCoords(fPipelineInfo.readsLocalCoords() ? in onPrepareDraws()
182 LocalCoords::kUsePosition_Type : in onPrepareDraws()
183 LocalCoords::kUnused_Type); in onPrepareDraws()
DGrAALinearizingConvexPathRenderer.cpp113 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_fill_gp()
114 LocalCoords::kUnused_Type); in create_fill_gp()
DGrNinePatch.cpp22 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in create_gp()
DGrDrawAtlasBatch.cpp50 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in set_vertex_attributes()
DGrDefaultPathRenderer.cpp263 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws()
264 LocalCoords::kUnused_Type); in onPrepareDraws()
DGrAAStrokeRectBatch.cpp41 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_stroke_rect_gp()
42 LocalCoords::kUnused_Type); in create_stroke_rect_gp()
DGrAAHairLinePathRenderer.cpp816 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws()
817 LocalCoords::kUnused_Type); in onPrepareDraws()
DGrAAConvexPathRenderer.cpp740 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_fill_gp()
741 LocalCoords::kUnused_Type); in create_fill_gp()
/external/skia/gm/
Dconvexpolyeffect.cpp173 LocalCoords localCoords(LocalCoords::kUnused_Type); in onDraw()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp353 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws()
354 LocalCoords::kUnused_Type); in onPrepareDraws()