Searched refs:insetX (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/effects/ |
D | GrTextureDomain.h | 74 SkScalar insetX = ((modeX == kClamp_Mode || modeX == kDecal_Mode) && texelRect.width() > 0) in MakeTexelDomain() local 78 return SkRect::MakeLTRB(texelRect.fLeft + insetX, texelRect.fTop + insetY, in MakeTexelDomain() 79 texelRect.fRight - insetX, texelRect.fBottom - insetY); in MakeTexelDomain()
|
/external/skia/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 765 const SkScalar insetX = std::min(SK_ScalarHalf, devHalfStrokeSize.fX); in generateAAStrokeRectGeometry() local 769 const SkScalar outsetX = SK_Scalar1 - insetX; in generateAAStrokeRectGeometry() 791 vertices.writeQuad(inset_fan(devOutside, insetX, insetY), in generateAAStrokeRectGeometry() 797 vertices.writeQuad(inset_fan(devOutsideAssist, insetX, insetY), in generateAAStrokeRectGeometry() 803 vertices.writeQuad(inset_fan(devInside, -insetX, -insetY), in generateAAStrokeRectGeometry()
|