Home
last modified time | relevance | path

Searched refs:localRect (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/ops/
DGrNonAAFillRectOp.cpp108 const SkRect& rect, const SkRect* localRect, in Make() argument
112 return Helper::FactoryHelper<NonAAFillRectOp>(std::move(paint), viewMatrix, rect, localRect, in Make()
119 const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix, in NonAAFillRectOp() argument
128 if (localRect && localMatrix) { in NonAAFillRectOp()
129 info.fLocalQuad.setFromMappedRect(*localRect, *localMatrix); in NonAAFillRectOp()
130 } else if (localRect) { in NonAAFillRectOp()
131 info.fLocalQuad.set(*localRect); in NonAAFillRectOp()
226 const SkRect& rect, const SkRect* localRect, in Make() argument
231 localRect, localMatrix, aaType, in Make()
239 const SkRect* localRect, const SkMatrix* localMatrix, in NonAAFillRectPerspectiveOp() argument
[all …]
DGrRectOpFactory.h38 const SkRect& localRect);
51 const SkRect& localRect, GrAAType);
DGrAAFillRectOp.cpp376 const SkRect& rect, const SkRect& localRect) { in MakeAAFillWithLocalRect() argument
383 if (!localMatrix.setRectToRect(rect, localRect, SkMatrix::kFill_ScaleToFit)) { in MakeAAFillWithLocalRect()
/external/skia/src/gpu/
DGrTextureProducer.cpp35 SkRect localRect; in CopyOnGpu() local
37 localRect = SkRect::Make(*subset); in CopyOnGpu()
39 localRect = SkRect::MakeWH(inputProxy->width(), inputProxy->height()); in CopyOnGpu()
44 bool resizing = localRect.width() != dstRect.width() || in CopyOnGpu()
45 localRect.height() != dstRect.height(); in CopyOnGpu()
55 const SkRect domain = localRect.makeInset(0.5f, 0.5f); in CopyOnGpu()
69 localRect); in CopyOnGpu()
DGrRenderTargetContext.cpp407 SkRect* localRect = nullptr) { in crop_filled_rect() argument
420 if (localRect) { in crop_filled_rect()
424 const SkScalar dx = localRect->width() / rect->width(); in crop_filled_rect()
425 const SkScalar dy = localRect->height() / rect->height(); in crop_filled_rect()
427 localRect->fLeft += (clipBounds.fLeft - rect->fLeft) * dx; in crop_filled_rect()
431 localRect->fTop += (clipBounds.fTop - rect->fTop) * dy; in crop_filled_rect()
435 localRect->fRight -= (rect->fRight - clipBounds.fRight) * dx; in crop_filled_rect()
439 localRect->fBottom -= (rect->fBottom - clipBounds.fBottom) * dy; in crop_filled_rect()
728 const SkRect& localRect) { in fillRectToRect() argument
735 SkRect croppedLocalRect = localRect; in fillRectToRect()
[all …]
DGrRenderTargetContext.h125 const SkRect& localRect);
/external/skia/src/core/
DSkRasterClip.cpp63 void SkConservativeClip::op(const SkRect& localRect, const SkMatrix& ctm, const SkIRect& devBounds, in op() argument
74 ctm.mapRect(&devRect, localRect); in op()
362 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
370 path.addRect(localRect); in op()
375 matrix.mapRect(&devRect, localRect); in op()
/external/skia/tests/
DOnFlushCallbackTest.cpp47 const SkRect* localRect, int32_t classID) in NonAARectOp() argument
50 , fHasLocalRect(SkToBool(localRect)) in NonAARectOp()
54 fLocalQuad.set(*localRect); in NonAARectOp()
209 void setLocalRect(const SkRect& localRect) { in setLocalRect() argument
211 fLocalQuad.set(localRect); in setLocalRect()
/external/skia/src/gpu/instanced/
DInstancedOp.h117 GrPaint&&, const SkRect& localRect,
153 const SkRect& localRect, GrAA aa,
DInstancedOp.cpp269 GrPaint&& paint, const SkRect& localRect, in recordRect() argument
272 return this->recordShape(ShapeType::kRect, rect, viewMatrix, std::move(paint), localRect, aa, in recordRect()
344 const SkRect& localRect, GrAA aa, const GrInstancedPipelineInfo& info) { in recordShape() argument
429 const float* rectAsFloats = localRect.asScalars(); // Ensure SkScalar == float. in recordShape()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c7586 Rect localRect; in Qt_CreateMovieControl() local
7599 &localRect, in Qt_CreateMovieControl()
7605 PyMac_BuildRect, &localRect, in Qt_CreateMovieControl()