Home
last modified time | relevance | path

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

/external/skia/src/gpu/ops/
DGrAAFillRectOp.cpp62 SkPoint* fan0Pos = reinterpret_cast<SkPoint*>(verts); in generate_aa_fill_rect_geometry() local
71 set_inset_fan(fan0Pos, vertexStride, devRect, -SK_ScalarHalf, -SK_ScalarHalf); in generate_aa_fill_rect_geometry()
87 fan0Pos->setRectFan(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, vertexStride); in generate_aa_fill_rect_geometry()
88 viewMatrix.mapPointsWithStride(fan0Pos, vertexStride, 4); in generate_aa_fill_rect_geometry()
95 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) + vec[0] + vec[1]; in generate_aa_fill_rect_geometry()
96 *((SkPoint*)((intptr_t)fan0Pos + 0 * vertexStride)) -= vec[0] + vec[1]; in generate_aa_fill_rect_geometry()
99 *((SkPoint*)((intptr_t)fan0Pos + 1 * vertexStride)) + vec[0] - vec[1]; in generate_aa_fill_rect_geometry()
100 *((SkPoint*)((intptr_t)fan0Pos + 1 * vertexStride)) -= vec[0] - vec[1]; in generate_aa_fill_rect_geometry()
103 *((SkPoint*)((intptr_t)fan0Pos + 2 * vertexStride)) - vec[0] - vec[1]; in generate_aa_fill_rect_geometry()
104 *((SkPoint*)((intptr_t)fan0Pos + 2 * vertexStride)) += vec[0] + vec[1]; in generate_aa_fill_rect_geometry()
[all …]
DGrAAStrokeRectOp.cpp441 SkPoint* fan0Pos = reinterpret_cast<SkPoint*>(verts); in generateAAStrokeRectGeometry() local
482 set_inset_fan(fan0Pos, vertexStride, devOutside, -SK_ScalarHalf, -SK_ScalarHalf); in generateAAStrokeRectGeometry()
502 set_inset_fan(fan0Pos, vertexStride, devOutside, -SK_ScalarHalf, -SK_ScalarHalf); in generateAAStrokeRectGeometry()