Home
last modified time | relevance | path

Searched refs:MakeSize (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/skia/src/gpu/
DGrScissorState.h26 , fRect(SkIRect::MakeSize(rtDims)) {} in GrScissorState()
28 void setDisabled() { fRect = SkIRect::MakeSize(fRTSize); } in setDisabled()
64 SkASSERT(fRect.isEmpty() || SkIRect::MakeSize(fRTSize).contains(fRect)); in enabled()
74 SkASSERT(fRect.isEmpty() || SkIRect::MakeSize(fRTSize).contains(fRect)); in rect()
DSurfaceContext.cpp175 SkIRect::MakeSize(dst.dimensions()), in readPixels()
334 SkASSERT(SkIRect::MakeSize(this->dimensions()).contains( in internalWritePixels()
465 SkIRect::MakeSize(srcBase.dimensions()), in internalWritePixels()
469 SkIRect srcRect = SkIRect::MakeSize(srcBase.dimensions()); in internalWritePixels()
905 SkIRect::MakeSize(yFC->dimensions())); in asyncRescaleAndReadPixelsYUV420()
930 SkIRect::MakeSize(uFC->dimensions())); in asyncRescaleAndReadPixelsYUV420()
954 SkIRect::MakeSize(vFC->dimensions())); in asyncRescaleAndReadPixelsYUV420()
1075 SkIRect::MakeSize(sfc->dimensions()), in rescale()
1090 if (!SkIRect::MakeSize(dst->dimensions()).contains((dstRect))) { in rescaleInto()
1113 srcRect = SkIRect::MakeSize(srcRect.size()); in rescaleInto()
[all …]
DSurfaceFillContext.h80 this->fillRectWithFP(SkIRect::MakeSize(fWriteView.proxy()->dimensions()), std::move(fp)); in fillWithFP()
88 this->fillRectWithFP(SkIRect::MakeSize(fWriteView.proxy()->dimensions()), in fillWithFP()
DGrGpu.cpp230 SkIRect::MakeSize(dimensions), in createTexture()
421 if (!SkIRect::MakeSize(surface->dimensions()).contains(rect)) { in readPixels()
465 if (!SkIRect::MakeSize(surface->dimensions()).contains(rect)) { in writePixels()
468 } else if (rect != SkIRect::MakeSize(surface->dimensions())) { in writePixels()
508 if (!SkIRect::MakeSize(texture->dimensions()).contains(rect)) { in transferPixelsTo()
562 if (!SkIRect::MakeSize(surface->dimensions()).contains(rect)) { in transferPixelsFrom()
/third_party/skia/gm/
Dclear_swizzle.cpp72 SkIRect::MakeSize({2*kSize, 2*kSize}),
78 offscreen->clear(SkIRect::MakeSize(c.rect.size()), c.color);
80 SkIRect::MakeSize(offscreen->dimensions()),
Dgpu_blur_utils.cpp102 auto bounds = SkIRect::MakeSize(src.dimensions()); in slow_blur()
120 auto srcRect = SkIRect::MakeSize(src.dimensions()); in slow_blur()
199 SkIRect srcRect = SkIRect::MakeSize(src.dimensions()); in run()
404 auto dstRect = SkIRect::MakeSize(dstB.size()).makeOffset(x, y); in do_very_large_blur_gm()
421 sdc->fillRectToRectWithFP(SkIRect::MakeSize(dstB.size()), in do_very_large_blur_gm()
438 auto srcB = SkIRect::MakeSize(src.dimensions());
/third_party/flutter/skia/docs/examples/
DIRect_MakeSize.cpp8 SkIRect rect = SkIRect::MakeSize(size.toRound()); in draw()
10 rect = SkIRect::MakeSize(size.toFloor()); in draw()
DRect_MakeSize.cpp8 SkRect rect = SkRect::MakeSize(size); in draw()
11 rect = SkRect::MakeSize(SkSize::Make(floor)); in draw()
DRect_Make.cpp7 SkRect rect1 = SkRect::MakeSize({2, 35}); in draw()
DImage_dimensions.cpp9 SkIRect dimensionsAsBounds = SkIRect::MakeSize(dimensions); in draw()
DIRect_MakeWH.cpp8 SkIRect rect2 = SkIRect::MakeSize({25, 35}); in draw()
DImageInfo_dimensions.cpp12 SkIRect dimensionsAsBounds = SkIRect::MakeSize(dimensions); in draw()
/third_party/skia/docs/examples/
DIRect_MakeSize.cpp8 SkIRect rect = SkIRect::MakeSize(size.toRound()); in draw()
10 rect = SkIRect::MakeSize(size.toFloor()); in draw()
DRect_MakeSize.cpp8 SkRect rect = SkRect::MakeSize(size); in draw()
11 rect = SkRect::MakeSize(SkSize::Make(floor)); in draw()
DRect_Make.cpp7 SkRect rect1 = SkRect::MakeSize({2, 35}); in draw()
DImage_dimensions.cpp9 SkIRect dimensionsAsBounds = SkIRect::MakeSize(dimensions); in draw()
DIRect_MakeWH.cpp8 SkIRect rect2 = SkIRect::MakeSize({25, 35}); in draw()
DImageInfo_dimensions.cpp12 SkIRect dimensionsAsBounds = SkIRect::MakeSize(dimensions); in draw()
/third_party/skia/experimental/graphite/src/
DDrawContext.cpp57 SkASSERT(SkIRect::MakeSize(fTarget->dimensions()).contains(clip.scissor())); in stencilAndFillPath()
66 SkASSERT(SkIRect::MakeSize(fTarget->dimensions()).contains(clip.scissor())); in fillConvexPath()
76 SkASSERT(SkIRect::MakeSize(fTarget->dimensions()).contains(clip.scissor())); in strokePath()
/third_party/flutter/skia/modules/skottie/src/
DSkottieTool.cpp79 canvas->concat(SkMatrix::MakeRectToRect(SkRect::MakeSize(anim->size()), in saveFrame()
109 canvas->concat(SkMatrix::MakeRectToRect(SkRect::MakeSize(anim->size()), in saveFrame()
/third_party/flutter/skia/tools/viewer/
DSkottieSlide.cpp129 const auto dstR = SkRect::MakeSize(fWinSize); in draw()
136 const auto t = SkMatrix::MakeRectToRect(SkRect::MakeSize(fAnimation->size()), in draw()
/third_party/skia/tools/viewer/
DMSKPSlide.cpp103 auto bounds = SkIRect::MakeSize(fPlayer->frameDimensions(fFrame)); in draw()
133 canvas->clipIRect(SkIRect::MakeSize(layerImage->dimensions())); in draw()
/third_party/flutter/skia/src/utils/
DSkMultiPictureDocument.cpp80 SkCanvas* c = fPictureRecorder.beginRecording(SkRect::MakeSize(bigsize)); in onClose()
160 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas()
/third_party/flutter/skia/modules/skottie/src/layers/
DSolidLayer.cpp39 return sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeSize(layer_info->fSize)), in attachSolidLayer()
/third_party/skia/src/utils/
DSkMultiPictureDocument.cpp88 SkCanvas* c = fPictureRecorder.beginRecording(SkRect::MakeSize(bigsize)); in onClose()
169 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas()

123456