Home | History | Annotate | Download | only in ops

Lines Matching refs:rect

26     coords and just duplicate the positions when the caller hasn't provided a local coord rect,
27 but we haven't seen a use case which frequently switches between local rect and no local
28 rect draws.
46 // the local rect on the cpu (in case the localMatrix also has perspective).
47 // Otherwise, if we have a local rect, then we apply the localMatrix directly to the localRect
71 const SkRect& rect,
75 positions->setRectFan(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, vertexStride);
108 const SkRect& rect, const SkRect* localRect,
112 return Helper::FactoryHelper<NonAAFillRectOp>(std::move(paint), viewMatrix, rect, localRect,
119 const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix,
127 info.fRect = rect;
133 info.fLocalQuad.setFromMappedRect(rect, *localMatrix);
135 info.fLocalQuad.set(rect);
148 str.appendf("%d: Color: 0x%08x, Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n", i,
226 const SkRect& rect, const SkRect* localRect,
230 return Helper::FactoryHelper<NonAAFillRectPerspectiveOp>(std::move(paint), viewMatrix, rect,
238 const SkMatrix& viewMatrix, const SkRect& rect,
247 info.fRect = rect;
256 this->setTransformedBounds(rect, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo);
266 str.appendf("%d: Color: 0x%08x, Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n", i,
367 const SkRect& rect, GrAAType aaType,
370 return NonAAFillRectPerspectiveOp::Make(std::move(paint), viewMatrix, rect, nullptr,
373 return NonAAFillRectOp::Make(std::move(paint), viewMatrix, rect, nullptr, nullptr, aaType,
380 const SkRect& rect, GrAAType aaType, const GrUserStencilSettings* stencilSettings) {
382 return NonAAFillRectPerspectiveOp::Make(std::move(paint), viewMatrix, rect, nullptr,
385 return NonAAFillRectOp::Make(std::move(paint), viewMatrix, rect, nullptr, &localMatrix,
391 const SkRect& rect, const SkRect& localRect,
394 return NonAAFillRectPerspectiveOp::Make(std::move(paint), viewMatrix, rect, &localRect,
397 return NonAAFillRectOp::Make(std::move(paint), viewMatrix, rect, &localRect, nullptr,
409 SkRect rect = GrTest::TestRect(random);
421 return NonAAFillRectPerspectiveOp::Make(std::move(paint), viewMatrix, rect, lr, lm, aaType,
424 return NonAAFillRectOp::Make(std::move(paint), viewMatrix, rect, lr, lm, aaType, stencil);