Home
last modified time | relevance | path

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

/external/skia/tools/gpu/
DTestOps.cpp95 const SkRect& localRect,
120 const SkRect& localRect,
152 const SkRect& localRect, in Make() argument
155 return GrOp::Make<TestRectOp>(context, caps, std::move(paint), drawRect, localRect, localM); in Make()
172 const SkRect& localRect, in TestRectOp() argument
176 , fLocalRect(localRect) in TestRectOp()
231 const SkRect& localRect, in MakeRect() argument
233 return TestRectOp::Make(context, std::move(paint), drawRect, localRect, localM); in MakeRect()
239 const SkRect& localRect, in MakeRect() argument
243 return TestRectOp::Make(context, std::move(paint), drawRect, localRect, localM); in MakeRect()
DTestOps.h29 const SkRect& localRect,
39 const SkRect& localRect,
/external/skia/gm/
Dtexelsubset.cpp127 SkRect localRect = SkRect::Make(fBitmap.bounds()).makeOutset(kDrawPad, kDrawPad); in onDraw() local
144 drawRect = localRect.makeOffset(x, y); in onDraw()
163 localRect.makeOffset(kT), in onDraw()
168 x += localRect.width() + kTestPad; in onDraw()
172 drawRect = localRect.makeOffset(x, y); in onDraw()
182 localRect)) { in onDraw()
191 x += localRect.width() + kTestPad; in onDraw()
197 y += localRect.height() + kTestPad; in onDraw()
Dcompositor_quads.cpp746 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
751 {fImage, localRect, rect, matrixIdx, 1.f, this->maskToFlags(edgeAA), hasClip}); in drawTile()
931 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
936 {fImage, localRect, rect, -1, .5f, this->maskToFlags(edgeAA), hasClip}); in drawTile()
/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/ops/
DGrFillRRectOp.cpp38 const SkRect& localRect,
82 const SkRect& localRect,
146 const SkRect& localRect, in Make() argument
194 return Helper::FactoryHelper<FillRRectOp>(ctx, std::move(paint), m, rrect, localRect, flags, in Make()
202 const SkRect& localRect, in FillRRectOp() argument
211 , fLocalRect(localRect) in FillRRectOp()
779 const SkRect& localRect, in Make() argument
781 return FillRRectOp::Make(ctx, std::move(paint), viewMatrix, rrect, localRect, aa); in Make()
DGrFillRRectOp.h26 const SkRect& localRect,
DGrFillRectOp.cpp582 SkRect localRect = GrTest::TestRect(random); in GR_DRAW_OP_TEST_DEFINE() local
584 GrQuad(localRect), aaFlags}; in GR_DRAW_OP_TEST_DEFINE()
DGrTextureOp.cpp1159 SkRect localRect; in Make() local
1160 if (quad->fLocal.asRect(&localRect)) { in Make()
1162 samplerState, *subset, localRect, caps); in Make()
/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/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/core/
DSkRasterClip.cpp64 void SkConservativeClip::opRect(const SkRect& localRect, const SkMatrix& ctm, in opRect() argument
77 ctm.mapRect(&devRect, localRect); in opRect()
396 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
404 path.addRect(localRect); in op()
409 matrix.mapRect(&devRect, localRect); in op()
/external/skia/tests/
DOnFlushCallbackTest.cpp56 const SkRect* localRect, int32_t classID) in NonAARectOp() argument
59 , fHasLocalRect(SkToBool(localRect)) in NonAARectOp()
63 fLocalQuad = GrQuad(*localRect); in NonAARectOp()
250 void setLocalRect(const SkRect& localRect) { in setLocalRect() argument
252 fLocalQuad = GrQuad(localRect); in setLocalRect()
/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/src/gpu/
DGrSurfaceDrawContext.h184 const SkRect& localRect);
213 const SkRect& localRect = optionalLocalRect ? *optionalLocalRect : rect; variable
214 DrawQuad quad{GrQuad::MakeFromRect(rect, viewMatrix), GrQuad(localRect), edgeAA};
DGrSurfaceDrawContext.cpp788 const SkRect& localRect) { in fillRectToRect() argument
789 DrawQuad quad{GrQuad::MakeFromRect(rectToDraw, viewMatrix), GrQuad(localRect), in fillRectToRect()
824 croppedLocal = localRect; in fillRectToRect()
/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()