/third_party/skia/experimental/sorttoy/ |
D | sorttoy.cpp | 161 r.makeOffset(s1Trans) in mcstack_test() 164 r.makeOffset(s1Trans), in mcstack_test() 165 r.makeOffset(s2TransA) in mcstack_test() 168 r.makeOffset(s1Trans), in mcstack_test() 169 r.makeOffset(s2TransA), in mcstack_test() 170 r.makeOffset(s2TransA + s2TransB) in mcstack_test() 290 … test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test1() 291 …test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test1() 310 … test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test2() 311 …test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test2() [all …]
|
/third_party/skia/gm/ |
D | gpu_blur_utils.cpp | 224 srcRect.makeOffset( 0, srcH), in run() 225 srcRect.makeOffset( srcW, 0), in run() 226 srcRect.makeOffset( 0, -srcH), in run() 227 srcRect.makeOffset(-srcW, 0), in run() 233 .makeOffset(srcRect.topLeft()), in run() 235 .makeOffset(srcRect.topLeft()), in run() 237 .makeOffset(srcRect.topLeft()), in run() 239 .makeOffset(srcRect.topLeft()), in run() 245 .makeOffset(srcRect.topLeft()), in run() 247 .makeOffset(srcRect.topLeft()), in run() [all …]
|
D | texelsubset.cpp | 151 drawRect = localRect.makeOffset(x, y); in onDraw() 170 localRect.makeOffset(kT), in onDraw() 179 drawRect = localRect.makeOffset(x, y); in onDraw()
|
/third_party/skia/tests/ |
D | RoundRectTest.cpp | 1195 verify_success(reporter, a.makeOffset(6.f, 0.f), b, kA, kRect, kRect, kA); in test_conservative_intersection() 1196 verify_success(reporter, a.makeOffset(-6.f, 0.f), b, kRect, kA, kA, kRect); in test_conservative_intersection() 1198 verify_success(reporter, a, b.makeOffset(0.f, 6.f), kB, kB, kRect, kRect); in test_conservative_intersection() 1199 verify_success(reporter, a, b.makeOffset(0.f, -6.f), kRect, kRect, kB, kB); in test_conservative_intersection() 1201 verify_success(reporter, a.makeOffset(-7.f, -8.f), b, kB, kRect, kA, kRect); // TL of B in test_conservative_intersection() 1202 verify_success(reporter, a.makeOffset(7.f, -8.f), b, kRect, kB, kRect, kA); // TR of B in test_conservative_intersection() 1203 verify_success(reporter, a.makeOffset(7.f, 8.f), b, kA, kRect, kB, kRect); // BR of B in test_conservative_intersection() 1204 verify_success(reporter, a.makeOffset(-7.f, 8.f), b, kRect, kA, kRect, kB); // BL of B in test_conservative_intersection() 1229 verify_failure(reporter, a.makeOffset(32.f, 0.f), b); in test_conservative_intersection() 1231 verify_failure(reporter, a.makeOffset(11.5f, -11.5f), b); in test_conservative_intersection() [all …]
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrOctoBounds.h | 67 GrOctoBounds makeOffset(float dx, float dy) const { in makeOffset() function 74 fBounds = octoBounds.fBounds.makeOffset(dx, dy); in setOffset() 75 fBounds45 = octoBounds.fBounds45.makeOffset(dx - dy, dx + dy); in setOffset()
|
/third_party/skia/src/gpu/ |
D | GrWindowRectangles.h | 22 GrWindowRectangles makeOffset(int dx, int dy) const; 79 inline GrWindowRectangles GrWindowRectangles::makeOffset(int dx, int dy) const { in makeOffset() function 93 windows[i] = this->data()[i].makeOffset(dx, dy); in makeOffset()
|
D | BufferWriter.h | 66 VertexWriter makeOffset(ptrdiff_t offsetInBytes) const { in makeOffset() function 193 w = w.makeOffset(sizeof(T)); 208 w = w.makeOffset(sizeof(T)); 215 w = w.makeOffset(sizeof(vector));
|
D | GrVertexChunkArray.h | 63 fCurrChunkVertexWriter.makeOffset(fStride * count)); in appendVertices() 75 fCurrChunkVertexWriter = fCurrChunkVertexWriter.makeOffset(fStride * -count); in popVertices()
|
D | GrDrawIndirectCommand.h | 57 GrDrawIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset() function 92 GrDrawIndexedIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset() function
|
/third_party/flutter/skia/src/gpu/ |
D | GrWindowRectangles.h | 22 GrWindowRectangles makeOffset(int dx, int dy) const; 80 inline GrWindowRectangles GrWindowRectangles::makeOffset(int dx, int dy) const { in makeOffset() function 94 windows[i] = this->data()[i].makeOffset(dx, dy); in makeOffset()
|
/third_party/flutter/engine/flutter/flow/ohos_layers/ |
D | opacity_layer.cpp | 20 SetPaintBounds(GetPaintBounds().makeOffset(offset_.fX, offset_.fY)); in Prepare() 30 GetPaintBounds().makeOffset(-offset_.fX, -offset_.fY).roundOut(&saveLayerBounds); in Paint()
|
/third_party/skia/src/pdf/ |
D | SkKeyedImage.cpp | 18 return {image->bounds().makeOffset(o), bm->getGenerationID()}; in SkBitmapKeyFromImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset()
|
/third_party/flutter/skia/src/pdf/ |
D | SkKeyedImage.cpp | 18 return {image->bounds().makeOffset(o.x(), o.y()), bm->getGenerationID()}; in SkBitmapKeyFromImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset()
|
/third_party/skia/docs/examples/ |
D | blur4444.cpp | 46 c->drawRect(SkRect{0, 0, 640, 84}.makeOffset(0, 300), blrPaint); in draw() 55 c->drawRect(SkRect{0, 0, 640, 100}.makeOffset(0, 150), grdPaint); in draw()
|
D | RRect_makeOffset.cpp | 13 rrect = rrect.makeOffset(-3, 3); in draw()
|
D | Rect_makeOffset.cpp | 10 rect = rect.makeOffset(15, 32); in draw()
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | opacity_layer.cc | 46 set_paint_bounds(paint_bounds().makeOffset(offset_.fX, offset_.fY)); in Preroll() 107 .makeOffset(-offset_.fX, -offset_.fY) in Paint()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGText.cpp | 68 return bounds.makeOffset(aligned_pos.x(), aligned_pos.y()); in onRevalidate() 99 return fBlob ? fBlob->bounds().makeOffset(fPosition.x(), fPosition.y()) in onRevalidate()
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGText.cpp | 68 return bounds.makeOffset(aligned_pos.x(), aligned_pos.y()); in onRevalidate() 99 return fBlob ? fBlob->bounds().makeOffset(fPosition.x(), fPosition.y()) in onRevalidate()
|
/third_party/skia/include/core/ |
D | SkRect.h | 302 constexpr SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() function 319 constexpr SkIRect makeOffset(SkIVector offset) const { in makeOffset() function 320 return this->makeOffset(offset.x(), offset.y()); in makeOffset() 975 constexpr SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function 984 constexpr SkRect makeOffset(SkVector v) const { return this->makeOffset(v.x(), v.y()); } in makeOffset() function
|
D | SkRRect.h | 393 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function 394 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
|
/third_party/flutter/skia/include/core/ |
D | SkRRect.h | 414 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function 415 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
|
/third_party/skia/tests/graphite/ |
D | RectTest.cpp | 93 CHECK(rect2.makeOffset({.5f, -.25f}) == skRect2.makeOffset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
|
/third_party/flutter/skia/docs/examples/ |
D | RRect_makeOffset.cpp | 13 rrect = rrect.makeOffset(-3, 3); in draw()
|
D | Rect_makeOffset.cpp | 10 rect = rect.makeOffset(15, 32); in draw()
|