Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrTextureProducer.cpp31 SkRect localRect = SkRect::MakeWH(inputProxy->width(), inputProxy->height()); in CopyOnGpu() local
36 bool resizing = localRect.width() != dstRect.width() || in CopyOnGpu()
37 localRect.height() != dstRect.height(); in CopyOnGpu()
65 const SkRect domain = localRect.makeInset(0.5f, 0.5f); in CopyOnGpu()
79 localRect); in CopyOnGpu()
DGrRenderTargetContext.cpp503 SkRect* localRect = nullptr) { in crop_filled_rect() argument
516 if (localRect) { in crop_filled_rect()
520 const SkScalar dx = localRect->width() / rect->width(); in crop_filled_rect()
521 const SkScalar dy = localRect->height() / rect->height(); in crop_filled_rect()
523 localRect->fLeft += (clipBounds.fLeft - rect->fLeft) * dx; in crop_filled_rect()
527 localRect->fTop += (clipBounds.fTop - rect->fTop) * dy; in crop_filled_rect()
531 localRect->fRight -= (rect->fRight - clipBounds.fRight) * dx; in crop_filled_rect()
535 localRect->fBottom -= (rect->fBottom - clipBounds.fBottom) * dy; in crop_filled_rect()
892 const SkRect& localRect) { in fillRectToRect() argument
899 SkRect croppedLocalRect = localRect; in fillRectToRect()
DGrRenderTargetContext.h118 const SkRect& localRect);
/external/skia/src/gpu/
DGrTextureProducer.cpp34 SkRect localRect = SkRect::MakeWH(inputProxy->width(), inputProxy->height()); in CopyOnGpu() local
39 bool resizing = localRect.width() != dstRect.width() || in CopyOnGpu()
40 localRect.height() != dstRect.height(); in CopyOnGpu()
68 const SkRect domain = localRect.makeInset(0.5f, 0.5f); in CopyOnGpu()
82 localRect); in CopyOnGpu()
DGrRenderTargetContext.cpp499 SkRect* localRect = nullptr) { in crop_filled_rect() argument
512 if (localRect) { in crop_filled_rect()
516 const SkScalar dx = localRect->width() / rect->width(); in crop_filled_rect()
517 const SkScalar dy = localRect->height() / rect->height(); in crop_filled_rect()
519 localRect->fLeft += (clipBounds.fLeft - rect->fLeft) * dx; in crop_filled_rect()
523 localRect->fTop += (clipBounds.fTop - rect->fTop) * dy; in crop_filled_rect()
527 localRect->fRight -= (rect->fRight - clipBounds.fRight) * dx; in crop_filled_rect()
531 localRect->fBottom -= (rect->fBottom - clipBounds.fBottom) * dy; in crop_filled_rect()
885 const SkRect& rect, const SkRect* localRect) { in fillRectWithEdgeAA() argument
894 if (localRect) { in fillRectWithEdgeAA()
[all …]
DGrRenderTargetContext.h118 const SkRect& localRect) { in fillRectToRect() argument
121 viewMatrix, rectToDraw, &localRect); in fillRectToRect()
/external/skqp/src/gpu/ops/
DGrFillRectOp.h52 const SkRect& localRect,
87 const SkRect& localRect,
DGrFillRectOp.cpp366 const SkRect& localRect, in MakePerEdgeWithLocalRect() argument
370 GrPerspQuad(localRect, SkMatrix::I()), GrQuadType::kRect); in MakePerEdgeWithLocalRect()
436 const SkRect& localRect, in MakeWithLocalRect() argument
440 viewMatrix, rect, localRect, stencil); in MakeWithLocalRect()
500 SkRect localRect = GrTest::TestRect(random); in GR_DRAW_OP_TEST_DEFINE() local
502 aaFlags, viewMatrix, rect, localRect, in GR_DRAW_OP_TEST_DEFINE()
/external/skia/src/core/
DSkRasterClip.cpp64 void SkConservativeClip::opRect(const SkRect& localRect, const SkMatrix& ctm, in opRect() argument
75 ctm.mapRect(&devRect, localRect); in opRect()
363 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
371 path.addRect(localRect); in op()
376 matrix.mapRect(&devRect, localRect); in op()
/external/skqp/src/core/
DSkRasterClip.cpp64 void SkConservativeClip::opRect(const SkRect& localRect, const SkMatrix& ctm, in opRect() argument
75 ctm.mapRect(&devRect, localRect); in opRect()
363 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
371 path.addRect(localRect); in op()
376 matrix.mapRect(&devRect, localRect); in op()
/external/skia/src/gpu/ops/
DGrFillRectOp.h53 const SkRect& localRect,
99 const SkRect& localRect,
DGrFillRectOp.cpp393 const SkRect& localRect, in MakePerEdgeWithLocalRect() argument
398 GrPerspQuad(localRect), GrQuadType::kRect); in MakePerEdgeWithLocalRect()
485 const SkRect& localRect, in MakeWithLocalRect() argument
489 viewMatrix, rect, localRect, stencil); in MakeWithLocalRect()
549 SkRect localRect = GrTest::TestRect(random); in GR_DRAW_OP_TEST_DEFINE() local
551 aaFlags, viewMatrix, rect, localRect, in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/tests/
DOnFlushCallbackTest.cpp54 const SkRect* localRect, int32_t classID) in NonAARectOp() argument
57 , fHasLocalRect(SkToBool(localRect)) in NonAARectOp()
61 fLocalQuad = GrQuad(*localRect); in NonAARectOp()
214 void setLocalRect(const SkRect& localRect) { in setLocalRect() argument
216 fLocalQuad = GrQuad(localRect); in setLocalRect()
/external/skia/tests/
DOnFlushCallbackTest.cpp54 const SkRect* localRect, int32_t classID) in NonAARectOp() argument
57 , fHasLocalRect(SkToBool(localRect)) in NonAARectOp()
61 fLocalQuad = GrQuad(*localRect); in NonAARectOp()
218 void setLocalRect(const SkRect& localRect) { in setLocalRect() argument
220 fLocalQuad = GrQuad(localRect); in setLocalRect()
/external/skia/gm/
Dcompositor_quads.cpp753 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
757 fSetEntries.push_back({fImage, localRect, rect, 1.f, this->maskToFlags(edgeAA)}); in drawTile()
/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()