Home
last modified time | relevance | path

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

/third_party/skia/tools/gpu/
DTestOps.cpp90 const SkRect& localRect,
115 const SkRect& localRect,
148 const SkRect& localRect, in Make() argument
151 return GrOp::Make<TestRectOp>(context, caps, std::move(paint), drawRect, localRect, localM); in Make()
168 const SkRect& localRect, in TestRectOp() argument
172 , fLocalRect(localRect) in TestRectOp()
229 const SkRect& localRect, in MakeRect() argument
231 return TestRectOp::Make(context, std::move(paint), drawRect, localRect, localM); in MakeRect()
237 const SkRect& localRect, in MakeRect() argument
241 return TestRectOp::Make(context, std::move(paint), drawRect, localRect, localM); in MakeRect()
DTestOps.h29 const SkRect& localRect,
39 const SkRect& localRect,
/third_party/skia/gm/
Dtexelsubset.cpp134 SkRect localRect = SkRect::Make(fBitmap.bounds()).makeOutset(kDrawPad, kDrawPad); in onDraw() local
151 drawRect = localRect.makeOffset(x, y); in onDraw()
170 localRect.makeOffset(kT), in onDraw()
175 x += localRect.width() + kTestPad; in onDraw()
179 drawRect = localRect.makeOffset(x, y); in onDraw()
189 drawRect, localRect)) { in onDraw()
198 x += localRect.width() + kTestPad; in onDraw()
204 y += localRect.height() + kTestPad; in onDraw()
Dcompositor_quads.cpp745 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
750 {fImage, localRect, rect, matrixIdx, 1.f, this->maskToFlags(edgeAA), hasClip}); in drawTile()
930 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
935 {fImage, localRect, rect, -1, .5f, this->maskToFlags(edgeAA), hasClip}); in drawTile()
/third_party/skia/src/gpu/ops/
DFillRRectOp.cpp45 const SkRect& localRect,
96 const SkRect& localRect,
115 Instance(const SkMatrix& viewMatrix, const SkRRect& rrect, const SkRect& localRect, in Instance()
117 : fViewMatrix(viewMatrix), fRRect(rrect), fLocalRect(localRect), fColor(color) {} in Instance()
152 const SkRect& localRect, in Make() argument
183 localRect, flags); in Make()
191 const SkRect& localRect, in FillRRectOpImpl() argument
201 , fHeadInstance(arena->make<Instance>(viewMatrix, rrect, localRect, paintColor)) in FillRRectOpImpl()
858 const SkRect& localRect, in Make() argument
860 return FillRRectOpImpl::Make(ctx, arena, std::move(paint), viewMatrix, rrect, localRect, aa); in Make()
DFillRRectOp.h27 const SkRect& localRect,
DFillRectOp.cpp591 SkRect localRect = GrTest::TestRect(random); in GR_DRAW_OP_TEST_DEFINE() local
593 GrQuad(localRect), aaFlags}; in GR_DRAW_OP_TEST_DEFINE()
DTextureOp.cpp1170 SkRect localRect; in Make() local
1171 if (quad->fLocal.asRect(&localRect)) { in Make()
1173 samplerState, *subset, localRect, caps); in Make()
/third_party/flutter/skia/src/gpu/
DGrTextureProducer.cpp33 SkRect localRect = SkRect::MakeWH(inputProxy->width(), inputProxy->height()); in CopyOnGpu() local
38 bool resizing = localRect.width() != dstRect.width() || in CopyOnGpu()
39 localRect.height() != dstRect.height(); in CopyOnGpu()
62 const SkRect domain = localRect.makeInset(0.5f, 0.5f); in CopyOnGpu()
76 localRect); in CopyOnGpu()
DGrRenderTargetContext.h119 const SkRect& localRect) { in fillRectToRect() argument
122 GrQuad::MakeFromRect(rectToDraw, viewMatrix), GrQuad(localRect)); in fillRectToRect()
149 const SkRect& localRect = optionalLocalRect ? *optionalLocalRect : rect; variable
151 GrQuad::MakeFromRect(rect, viewMatrix), GrQuad(localRect));
/third_party/flutter/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()
/third_party/skia/src/core/
DSkRasterClip.cpp144 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, SkClipOp op, bool doAA) { in op() argument
149 return this->op(SkPath::Rect(localRect), matrix, op, doAA); in op()
152 SkRect devRect = matrix.mapRect(localRect); in op()
/third_party/flutter/skia/tests/
DOnFlushCallbackTest.cpp53 const SkRect* localRect, int32_t classID) in NonAARectOp() argument
56 , fHasLocalRect(SkToBool(localRect)) in NonAARectOp()
60 fLocalQuad = GrQuad(*localRect); in NonAARectOp()
218 void setLocalRect(const SkRect& localRect) { in setLocalRect() argument
220 fLocalQuad = GrQuad(localRect); in setLocalRect()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext_v1.h176 const SkRect& localRect);
205 const SkRect& localRect = optionalLocalRect ? *optionalLocalRect : rect; variable
206 DrawQuad quad{GrQuad::MakeFromRect(rect, viewMatrix), GrQuad(localRect), edgeAA};
DSurfaceDrawContext.cpp787 const SkRect& localRect) { in fillRectToRect() argument
788 DrawQuad quad{GrQuad::MakeFromRect(rectToDraw, viewMatrix), GrQuad(localRect), in fillRectToRect()
823 croppedLocal = localRect; in fillRectToRect()
/third_party/flutter/skia/gm/
Dcompositor_quads.cpp744 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
749 {fImage, localRect, rect, matrixIdx, 1.f, this->maskToFlags(edgeAA), hasClip}); in drawTile()
930 SkRect localRect = gridToImage.mapRect(rect); in drawTile() local
935 {fImage, localRect, rect, -1, 1.f, this->maskToFlags(edgeAA), hasClip}); in drawTile()
/third_party/flutter/skia/src/gpu/ops/
DGrFillRectOp.cpp434 SkRect localRect = GrTest::TestRect(random); in GR_DRAW_OP_TEST_DEFINE() local
437 GrQuad(localRect), stencil); in GR_DRAW_OP_TEST_DEFINE()
/third_party/flutter/glfw/src/
Dcocoa_window.m1448 const NSRect localRect = NSMakeRect(x, contentRect.size.height - y - 1, 0, 0);
1449 const NSRect globalRect = [window->ns.object convertRectToScreen:localRect];