Lines Matching refs:shadowGeometry
461 int getVertexCountForGeometry(const Geometry& shadowGeometry) { in getVertexCountForGeometry() argument
462 if (shadowGeometry.fIsCircle) { in getVertexCountForGeometry()
463 return circle_type_to_vert_count(shadowGeometry.fType); in getVertexCountForGeometry()
466 return rrect_type_to_vert_count(shadowGeometry.fType); in getVertexCountForGeometry()
469 int getIndexCountForGeometry(const Geometry& shadowGeometry) { in getIndexCountForGeometry() argument
470 if (shadowGeometry.fIsCircle) { in getIndexCountForGeometry()
471 return circle_type_to_index_count(kStroke_RRectType == shadowGeometry.fType); in getIndexCountForGeometry()
474 return rrect_type_to_index_count(shadowGeometry.fType); in getIndexCountForGeometry()
477 void fillVerticesForGeometry(const Geometry& shadowGeometry, int /* vertexCount */, in fillVerticesForGeometry() argument
480 if (shadowGeometry.fIsCircle) { in fillVerticesForGeometry()
481 fillInCircleVerts(shadowGeometry, shadowGeometry.fIsStroked, position, shadowColor, in fillVerticesForGeometry()
484 fillInRRectVerts(shadowGeometry, position, shadowColor, shadowParams); in fillVerticesForGeometry()
488 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount, in fillIndicesForGeometry() argument
490 if (shadowGeometry.fIsCircle) { in fillIndicesForGeometry()
491 const uint16_t* primIndices = circle_type_to_indices(shadowGeometry.fIsStroked); in fillIndicesForGeometry()
496 const uint16_t* primIndices = rrect_type_to_indices(shadowGeometry.fType); in fillIndicesForGeometry()