/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Framebuffer9.cpp | 268 RECT dstRect; in blitImpl() local 269 dstRect.left = destArea.x; in blitImpl() 270 dstRect.right = destArea.x + destArea.width; in blitImpl() 271 dstRect.top = destArea.y; in blitImpl() 272 dstRect.bottom = destArea.y + destArea.height; in blitImpl() 277 if (dstRect.left < scissor->x) in blitImpl() 279 srcRect.left += (scissor->x - dstRect.left); in blitImpl() 280 dstRect.left = scissor->x; in blitImpl() 282 if (dstRect.top < scissor->y) in blitImpl() 284 srcRect.top += (scissor->y - dstRect.top); in blitImpl() [all …]
|
/third_party/skia/gm/ |
D | tileimagefilter.cpp | 73 SkRect dstRect = SkRect::MakeXYWH(SkIntToScalar(i * 8), in onDraw() local 78 sk_sp<SkImageFilter> filter(SkImageFilters::Tile(srcRect, dstRect, in onDraw() 86 canvas->drawRect(dstRect, blue); in onDraw() 104 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(fBitmap->width() * 2), in onDraw() local 106 sk_sp<SkImageFilter> tile(SkImageFilters::Tile(srcRect, dstRect, nullptr)); in onDraw() 113 canvas->clipRect(dstRect); in onDraw() 114 canvas->saveLayer(&dstRect, &paint); in onDraw() 118 canvas->drawRect(dstRect, blue); in onDraw() 127 SkRect dstRect = SkRect::MakeXYWH(0, 0, 100, 100); in onDraw() local 135 paint.setImageFilter(SkImageFilters::Tile(srcRect, dstRect, std::move(green))); in onDraw() [all …]
|
D | verylargebitmap.cpp | 63 SkRect dstRect = SkRect::MakeWH(128.f, 128.f); in show_image() local 66 canvas->clipRect(dstRect); in show_image() 69 canvas->drawRect(dstRect, borderPaint); in show_image() 71 dstRect.offset(SkIntToScalar(150), 0); in show_image() 75 canvas->drawImageRect(image, subset, dstRect, SkSamplingOptions(), nullptr, in show_image() 77 canvas->drawRect(dstRect, borderPaint); in show_image() 79 dstRect.offset(SkIntToScalar(150), 0); in show_image() 80 canvas->drawImageRect(image, dstRect, SkSamplingOptions(), nullptr); in show_image() 81 canvas->drawRect(dstRect, borderPaint); in show_image()
|
D | drawbitmaprect.cpp | 182 SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)}; in onDraw() local 211 fProc(canvas, fImage.get(), fLargeBitmap, srcRect, dstRect, SkSamplingOptions(), in onDraw() 219 SkScalar baseline = dstRect.height() + font.getSize() + SK_Scalar1 * 3; in onDraw() 224 canvas->drawRect(dstRect, blackPaint); in onDraw() 226 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); in onDraw() 228 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw() 230 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY); in onDraw() 249 fProc(canvas, bm.asImage().get(), bm, srcRect, dstRect, in onDraw()
|
D | rectangletexture.cpp | 190 auto dstRect = SkRect::MakeXYWH( 0, 0, .50f*w, .50f*h); in onDraw() local 191 canvas->drawImageRect(fGradImgs[i], srcRect, dstRect, s, nullptr, in onDraw() 202 auto dstRect = SkRect::Make(fSmallImg->dimensions()).makeOutset(kOutset, kOutset); in onDraw() local 228 canvas->drawRect(dstRect, paint); in onDraw() 229 canvas->translate(dstRect.width() + kPad, 0); in onDraw() 232 canvas->translate(0, dstRect.height() + kPad); in onDraw() 235 canvas->translate((dstRect.width() + kPad)*kSkTileModeCount, 0); in onDraw()
|
D | drawminibitmaprect.cpp | 96 const SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)}; in onDraw() local 126 canvas->drawImageRect(fImage.get(), SkRect::Make(srcRect), dstRect, in onDraw() 131 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); in onDraw() 133 if ((dstRect.width() + 2 * kPadX) * rowCount > gSize) { in onDraw() 135 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY); in onDraw()
|
D | resizeimagefilter.cpp | 43 SkRect dstRect; in draw() local 44 canvas->getLocalToDeviceAs3x3().mapRect(&dstRect, rect); in draw() 46 SkScalar deviceScaleX = deviceSize.width() / dstRect.width(); in draw() 47 SkScalar deviceScaleY = deviceSize.height() / dstRect.height(); in draw()
|
D | imagesource.cpp | 57 const SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60); in onDraw() local 78 SkImageFilters::Image(fImage, srcRect, dstRect, sampling)); in onDraw() 85 SkImageFilters::Image(fImage, bounds, dstRect, sampling)); in onDraw()
|
D | gpu_blur_utils.cpp | 282 for (const auto& dstRect : dstRectSet) { in run() local 289 dstRect, in run() 315 SkRect::Make(dstRect), in run() 328 auto dstR = SkRect::Make(dstRect).makeOutset(0.5f, 0.5f); in run() 404 auto dstRect = SkIRect::MakeSize(dstB.size()).makeOffset(x, y); in do_very_large_blur_gm() local 413 SkRect::Make(dstRect).makeOutset(0.5, 0.5), in do_very_large_blur_gm() 422 dstRect, in do_very_large_blur_gm()
|
/third_party/skia/tests/ |
D | GrOpListFlushTest.cpp | 51 SkRect dstRect = SkRect::MakeWH(1, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 54 canvas1->drawRect(dstRect, paint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 61 canvas2->drawImageRect(image.get(), srcRect, dstRect, SkSamplingOptions(), nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 64 dstRect.fLeft = i+1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 65 dstRect.fRight = dstRect.fLeft + 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 67 canvas1->drawImageRect(image.get(), srcRect, dstRect, SkSamplingOptions(), nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | DMSAATest.cpp | 236 SkRect dstRect = SkRect::MakeXYWH(texDims.width()/2, texDims.height()/2, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 255 dstRect, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 277 dstRect, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 300 bool success = readImage->readPixels(context, bitmap.pixmap(), dstRect.fLeft, dstRect.fTop); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 903 …bool Device::ClipDstRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX, bo… in ClipDstRect() argument 905 if(dstRect.x0 < clipRect.x0) in ClipDstRect() 907 …float offset = (static_cast<float>(clipRect.x0 - dstRect.x0) / static_cast<float>(dstRect.width())… in ClipDstRect() 920 dstRect.x0 = clipRect.x0; in ClipDstRect() 922 if(dstRect.x1 > clipRect.x1) in ClipDstRect() 924 …float offset = (static_cast<float>(dstRect.x1 - clipRect.x1) / static_cast<float>(dstRect.width())… in ClipDstRect() 937 dstRect.x1 = clipRect.x1; in ClipDstRect() 939 if(dstRect.y0 < clipRect.y0) in ClipDstRect() 941 …float offset = (static_cast<float>(clipRect.y0 - dstRect.y0) / static_cast<float>(dstRect.height()… in ClipDstRect() 954 dstRect.y0 = clipRect.y0; in ClipDstRect() [all …]
|
/third_party/skia/src/effects/imagefilters/ |
D | SkTileImageFilter.cpp | 26 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, sk_sp<SkImageFilter> input) in SkTileImageFilter() argument 29 , fDstRect(dstRect) {} in SkTileImageFilter() 102 SkRect dstRect; in onFilterImage() local 103 ctx.ctm().mapRect(&dstRect, fDstRect); in onFilterImage() 104 if (!dstRect.intersect(SkRect::Make(ctx.clipBounds()))) { in onFilterImage() 109 const SkIRect dstIRect = dstRect.makeInset(kRoundOutInset, kRoundOutInset).roundOut(); in onFilterImage() 165 canvas->translate(-dstRect.fLeft, -dstRect.fTop); in onFilterImage() 166 canvas->drawRect(dstRect, paint); in onFilterImage()
|
D | SkImageImageFilter.cpp | 23 SkImageImageFilter(sk_sp<SkImage> image, const SkRect& srcRect, const SkRect& dstRect, in SkImageImageFilter() argument 28 , fDstRect(dstRect) in SkImageImageFilter() 58 const SkRect& dstRect, in Image() argument 65 std::move(image), srcRect, dstRect, sampling)); in Image() 169 SkRect dstRect = fDstRect; in onFilterNodeBounds() local 170 ctm.mapRect(&dstRect); in onFilterNodeBounds() 171 return dstRect.roundOut(); in onFilterNodeBounds()
|
D | SkMorphologyImageFilter.cpp | 361 const SkIRect& dstRect, in apply_morphology_rect() argument 373 sfc->fillRectToRectWithFP(srcRect, dstRect, std::move(fp)); in apply_morphology_rect() 380 const SkIRect& dstRect, in apply_morphology_rect_no_bounds() argument 386 sfc->fillRectToRectWithFP(srcRect, dstRect, std::move(fp)); in apply_morphology_rect_no_bounds() 393 const SkIRect& dstRect, in apply_morphology_pass() argument 398 SkIRect lowerSrcRect = srcRect, lowerDstRect = dstRect; in apply_morphology_pass() 399 SkIRect middleSrcRect = srcRect, middleDstRect = dstRect; in apply_morphology_pass() 400 SkIRect upperSrcRect = srcRect, upperDstRect = dstRect; in apply_morphology_pass() 405 lowerDstRect.fRight = dstRect.left() + radius; in apply_morphology_pass() 407 upperDstRect.fLeft = dstRect.right() - radius; in apply_morphology_pass() [all …]
|
D | SkPictureImageFilter.cpp | 137 SkRect dstRect = fCropRect; in onFilterNodeBounds() local 138 ctm.mapRect(&dstRect); in onFilterNodeBounds() 139 return dstRect.roundOut(); in onFilterNodeBounds()
|
/third_party/skia/src/gpu/ |
D | SurfaceFillContext.h | 53 virtual void fillRectWithFP(const SkIRect& dstRect, std::unique_ptr<GrFragmentProcessor>) = 0; 59 void fillRectWithFP(const SkIRect& dstRect, 65 const SkIRect& dstRect, in fillRectToRectWithFP() argument 67 SkMatrix lm = SkMatrix::RectToRect(SkRect::Make(dstRect), srcRect); in fillRectToRectWithFP() 68 this->fillRectWithFP(dstRect, lm, std::move(fp)); in fillRectToRectWithFP() 73 const SkIRect& dstRect, in fillRectToRectWithFP() argument 75 this->fillRectToRectWithFP(SkRect::Make(srcRect), dstRect, std::move(fp)); in fillRectToRectWithFP()
|
D | SurfaceFillContext.cpp | 14 void SurfaceFillContext::fillRectWithFP(const SkIRect& dstRect, in fillRectWithFP() argument 18 this->fillRectWithFP(dstRect, std::move(fp)); in fillRectWithFP()
|
/third_party/vk-gl-cts/framework/platform/raspi/ |
D | tcuRaspiPlatform.cpp | 127 VC_RECT_T dstRect, srcRect; in Window() local 129 dstRect.x = 0; in Window() 130 dstRect.y = 0; in Window() 131 dstRect.width = width; in Window() 132 dstRect.height = height; in Window() 145 …m_dispmanElement = vc_dispmanx_element_add(dispmanUpdate, m_dispmanDisplay, 0/*layer*/, &dstRect, … in Window()
|
/third_party/skia/modules/canvaskit/ |
D | skottie.js | 75 CanvasKit.Animation.prototype.render = function(canvas, dstRect) { argument 76 copyRectToWasm(dstRect, _scratchFourFloatsAPtr); 96 CanvasKit.ManagedAnimation.prototype.render = function(canvas, dstRect) { argument 97 copyRectToWasm(dstRect, _scratchFourFloatsAPtr);
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceFillContext_v1.cpp | 55 void SurfaceFillContext::fillRectWithFP(const SkIRect& dstRect, in fillRectWithFP() argument 68 SkRect::Make(dstRect)); in fillRectWithFP() 250 auto dstRect = SkIRect::MakePtSize(clippedDstPoint, clippedSrcRect.size()); in blitTexture() local 252 this->fillRectToRectWithFP(srcRectF, dstRect, std::move(fp)); in blitTexture()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_KHR_display_swapchain/ |
D | display_swapchain_present.txt | 25 * pname:dstRect is a rectangular region within the visible region of the 47 If the extent of the pname:srcRect and pname:dstRect are not equal, the 55 * [[VUID-VkDisplayPresentInfoKHR-dstRect-01258]] 56 pname:dstRect must: specify a rectangular region that is a subset of the
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeImage.cpp | 35 const SkRect& dstRect = imgInfo.fDst; in onMakeImageFilter() local 37 auto imgfilt = SkImageFilters::Image(imgInfo.fImage, srcRect, dstRect, in onMakeImageFilter()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 58 …IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8) in BlitRectCase() argument 64 , m_dstRect (dstRect) in BlitRectCase() 169 …har* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect); 174 …char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect) in BlitNearestFilterConsistencyCase() argument 175 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1) in BlitNearestFilterConsistencyCase() 461 … IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuf… in BlitDepthStencilCase() argument 469 , m_dstRect (dstRect) in BlitDepthStencilCase() 939 IVec4 dstRect; in init() member 951 IVec4 dstRect; in init() member 990 IVec4 dstRect = copyRects[rectNdx].dstRect.swizzle(dstSwz[0], dstSwz[1], dstSwz[2], dstSwz[3]); in init() local [all …]
|
/third_party/skia/src/core/ |
D | SkMatrixImageFilter.cpp | 85 SkRect dstRect; in onFilterImage() local 86 matrix.mapRect(&dstRect, srcRect); in onFilterImage() 88 dstRect.roundOut(&dstBounds); in onFilterImage()
|