Home
last modified time | relevance | path

Searched refs:makeOffset (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/skia/experimental/sorttoy/
Dsorttoy.cpp161 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/
Dgpu_blur_utils.cpp224 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 …]
Dtexelsubset.cpp151 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/
DRoundRectTest.cpp1195 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/
DGrOctoBounds.h67 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/
DGrWindowRectangles.h22 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()
DBufferWriter.h66 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));
DGrVertexChunkArray.h63 fCurrChunkVertexWriter.makeOffset(fStride * count)); in appendVertices()
75 fCurrChunkVertexWriter = fCurrChunkVertexWriter.makeOffset(fStride * -count); in popVertices()
DGrDrawIndirectCommand.h57 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/
DGrWindowRectangles.h22 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/
Dopacity_layer.cpp20 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/
DSkKeyedImage.cpp18 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/
DSkKeyedImage.cpp18 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/
Dblur4444.cpp46 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()
DRRect_makeOffset.cpp13 rrect = rrect.makeOffset(-3, 3); in draw()
DRect_makeOffset.cpp10 rect = rect.makeOffset(15, 32); in draw()
/third_party/flutter/engine/flutter/flow/layers/
Dopacity_layer.cc46 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/
DSkSGText.cpp68 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/
DSkSGText.cpp68 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/
DSkRect.h302 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
DSkRRect.h393 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/
DSkRRect.h414 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/
DRectTest.cpp93 CHECK(rect2.makeOffset({.5f, -.25f}) == skRect2.makeOffset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
/third_party/flutter/skia/docs/examples/
DRRect_makeOffset.cpp13 rrect = rrect.makeOffset(-3, 3); in draw()
DRect_makeOffset.cpp10 rect = rect.makeOffset(15, 32); in draw()

123456