Home
last modified time | relevance | path

Searched refs:snapToPixelCenters (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/batches/
DGrNonAAStrokeRectBatch.cpp78 SkScalar strokeWidth, bool snapToPixelCenters) { in appendAndUpdateBounds() argument
82 this->setupBounds(&bounds, fGeoData.back(), snapToPixelCenters); in appendAndUpdateBounds()
86 void init(bool snapToPixelCenters) { in init() argument
91 this->setupBounds(&fBounds, geo, snapToPixelCenters); in init()
95 void setupBounds(SkRect* bounds, const Geometry& geo, bool snapToPixelCenters) { in setupBounds() argument
102 if (snapToPixelCenters) { in setupBounds()
223 bool snapToPixelCenters) { in Create() argument
226 batch->init(snapToPixelCenters); in Create()
235 bool snapToPixelCenters) { in Append() argument
237 batch->appendAndUpdateBounds(color, viewMatrix, rect, strokeWidth, snapToPixelCenters); in Append()
DGrNonAAStrokeRectBatch.h25 bool snapToPixelCenters);
31 bool snapToPixelCenters);
DGrRectBatchFactory.h59 bool snapToPixelCenters) { in CreateNonAAStroke() argument
60 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, snapToPixelCenters); in CreateNonAAStroke()
/external/skia/src/gpu/
DGrDrawContext.cpp332 bool snapToPixelCenters = (0 == width && !fRenderTarget->isUnifiedMultisampled()); in drawRect() local
334 snapToPixelCenters)); in drawRect()
340 snapToPixelCenters); in drawRect()