/external/skqp/tests/ |
D | SGTest.cpp | 25 const SkRect& expected_bounds, in check_inval() 26 const SkRect& expected_inval_bounds, in check_inval() 27 const std::vector<SkRect>* expected_damage) { in check_inval() 58 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1() 59 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1() 70 SkRect::MakeWH(100, 100), in inval_test1() 78 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1() 80 SkRect::MakeWH(300, 200), in inval_test1() 81 SkRect::MakeWH(300, 200), in inval_test1() 88 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1() [all …]
|
D | QuickRejectTest.cpp | 101 SkRect r = SkRect::MakeWH(10, 10); in test_layers() 108 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers() 110 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers() 111 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers() 116 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject() 117 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject() 118 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 119 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 120 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject() 121 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject() [all …]
|
D | RecordDrawTest.cpp | 63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST() 64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST() 126 static bool sloppy_rect_eq(SkRect a, SkRect b) { in sloppy_rect_eq() 127 SkRect inset(a), outset(a); in sloppy_rect_eq() 137 recorder.clipRect(SkRect::MakeWH(400, 500)); in DEF_TEST() 139 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint()); in DEF_TEST() 142 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST() 143 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds); in DEF_TEST() 146 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i])); in DEF_TEST() 165 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | SGTest.cpp | 25 const SkRect& expected_bounds, in check_inval() 26 const SkRect& expected_inval_bounds, in check_inval() 27 const std::vector<SkRect>* expected_damage) { in check_inval() 58 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1() 59 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1() 70 SkRect::MakeWH(100, 100), in inval_test1() 78 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1() 80 SkRect::MakeWH(300, 200), in inval_test1() 81 SkRect::MakeWH(300, 200), in inval_test1() 88 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1() [all …]
|
D | QuickRejectTest.cpp | 101 SkRect r = SkRect::MakeWH(10, 10); in test_layers() 108 SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); in test_layers() 110 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers() 111 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers() 116 SkRect r0 = SkRect::MakeLTRB(-50.0f, -50.0f, 50.0f, 50.0f); in test_quick_reject() 117 SkRect r1 = SkRect::MakeLTRB(-50.0f, 110.0f, 50.0f, 120.0f); in test_quick_reject() 118 SkRect r2 = SkRect::MakeLTRB(110.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 119 SkRect r3 = SkRect::MakeLTRB(-120.0f, -50.0f, 120.0f, 50.0f); in test_quick_reject() 120 SkRect r4 = SkRect::MakeLTRB(-50.0f, -120.0f, 50.0f, 120.0f); in test_quick_reject() 121 SkRect r5 = SkRect::MakeLTRB(-120.0f, -120.0f, 120.0f, 120.0f); in test_quick_reject() [all …]
|
D | RecordDrawTest.cpp | 63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST() 64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST() 126 static bool sloppy_rect_eq(SkRect a, SkRect b) { in sloppy_rect_eq() 127 SkRect inset(a), outset(a); in sloppy_rect_eq() 137 recorder.clipRect(SkRect::MakeWH(400, 500)); in DEF_TEST() 139 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint()); in DEF_TEST() 142 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST() 143 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds); in DEF_TEST() 146 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i])); in DEF_TEST() 165 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST() [all …]
|
/external/skia/gm/ |
D | bigrect.cpp | 30 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect() 33 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect() 36 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect() 39 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect() 42 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect() 45 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect() 48 SkRect leftBorder = SkRect::MakeLTRB(-2, -1, 0, 35); in draw_big_rect() 51 SkRect topBorder = SkRect::MakeLTRB(-1, -2, 35, 0); in draw_big_rect() 54 SkRect rightBorder = SkRect::MakeLTRB(34, -1, 36, 35); in draw_big_rect() 57 SkRect bottomBorder = SkRect::MakeLTRB(-1, 34, 35, 36); in draw_big_rect() [all …]
|
/external/skqp/gm/ |
D | bigrect.cpp | 30 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect() 33 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect() 36 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect() 39 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect() 42 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect() 45 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect() 48 SkRect leftBorder = SkRect::MakeLTRB(-2, -1, 0, 35); in draw_big_rect() 51 SkRect topBorder = SkRect::MakeLTRB(-1, -2, 35, 0); in draw_big_rect() 54 SkRect rightBorder = SkRect::MakeLTRB(34, -1, 36, 35); in draw_big_rect() 57 SkRect bottomBorder = SkRect::MakeLTRB(-1, 34, 35, 36); in draw_big_rect() [all …]
|
/external/skia/include/core/ |
D | SkCanvas.h | 520 int saveLayer(const SkRect* bounds, const SkPaint* paint); 543 int saveLayer(const SkRect& bounds, const SkPaint* paint) { in saveLayer() 574 int saveLayerPreserveLCDTextRequests(const SkRect* bounds, const SkPaint* paint); 597 int saveLayerAlpha(const SkRect* bounds, U8CPU alpha); 638 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0) 653 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 679 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 694 const SkRect* fBounds = nullptr; 868 void clipRect(const SkRect& rect, SkClipOp op, bool doAntiAlias); 877 void clipRect(const SkRect& rect, SkClipOp op) { in clipRect() [all …]
|
D | SkOverdrawCanvas.h | 28 void onDrawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, 34 void onDrawRect(const SkRect&, const SkPaint&) override; 36 void onDrawOval(const SkRect&, const SkPaint&) override; 37 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 42 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], 43 int, SkBlendMode, const SkRect*, const SkPaint*) override; 46 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, 48 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override; 49 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override; 51 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, [all …]
|
/external/skqp/include/core/ |
D | SkCanvas.h | 524 int saveLayer(const SkRect* bounds, const SkPaint* paint); 547 int saveLayer(const SkRect& bounds, const SkPaint* paint) { in saveLayer() 578 int saveLayerPreserveLCDTextRequests(const SkRect* bounds, const SkPaint* paint); 601 int saveLayerAlpha(const SkRect* bounds, U8CPU alpha); 647 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0) 662 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 688 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 703 const SkRect* fBounds = nullptr; 877 void clipRect(const SkRect& rect, SkClipOp op, bool doAntiAlias); 886 void clipRect(const SkRect& rect, SkClipOp op) { in clipRect() [all …]
|
D | SkOverdrawCanvas.h | 28 void onDrawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, 34 void onDrawRect(const SkRect&, const SkPaint&) override; 36 void onDrawOval(const SkRect&, const SkPaint&) override; 37 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 42 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], 43 int, SkBlendMode, const SkRect*, const SkPaint*) override; 46 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, 48 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override; 49 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override; 51 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, [all …]
|
/external/skia/src/gpu/ |
D | SkGpuDevice.h | 73 void drawRect(const SkRect& r, const SkPaint& paint) override; 78 void drawOval(const SkRect& oval, const SkPaint& paint) override; 79 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, 85 void drawBitmapRect(const SkBitmap&, const SkRect* srcOrNull, const SkRect& dst, 97 void drawAtlas(const SkImage* atlas, const SkRSXform[], const SkRect[], 102 void drawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 106 const SkRect& dst, const SkPaint& paint) override; 108 const SkRect& dst, const SkPaint& paint) override; 111 const SkRect& dst, const SkPaint&) override; 113 const SkRect& dst, const SkPaint&) override; [all …]
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.h | 73 void drawRect(const SkRect& r, const SkPaint& paint) override; 78 void drawOval(const SkRect& oval, const SkPaint& paint) override; 79 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, 85 void drawBitmapRect(const SkBitmap&, const SkRect* srcOrNull, const SkRect& dst, 97 void drawAtlas(const SkImage* atlas, const SkRSXform[], const SkRect[], 102 void drawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 106 const SkRect& dst, const SkPaint& paint) override; 108 const SkRect& dst, const SkPaint& paint) override; 111 const SkRect& dst, const SkPaint&) override; 113 const SkRect& dst, const SkPaint&) override; [all …]
|
/external/skia/src/core/ |
D | SkLiteRecorder.h | 36 void onClipRect (const SkRect&, SkClipOp, ClipEdgeStyle) override; 43 void onDrawRect (const SkRect&, const SkPaint&) override; 45 void onDrawOval (const SkRect&, const SkPaint&) override; 46 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 52 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; 60 const SkRSXform[], const SkRect*, const SkPaint&) override; 64 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&, 66 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const SkPaint*) override; 67 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, 71 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override; [all …]
|
D | SkClipStack.h | 72 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() 114 const SkRect& getDeviceSpaceRect() const { in getDeviceSpaceRect() 154 const SkRect& getBounds() const; 160 bool contains(const SkRect& rect) const; 211 SkRect fFiniteBound; 230 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() 239 void initRect(int saveCount, const SkRect&, const SkMatrix&, SkClipOp, bool doAA); 252 bool rectRectIntersectAllowed(const SkRect& newR, bool newAA) const; 264 inline void combineBoundsDiff(FillCombo combination, const SkRect& prevFinite); 265 inline void combineBoundsXOR(int combination, const SkRect& prevFinite); [all …]
|
/external/skqp/src/core/ |
D | SkLiteRecorder.h | 36 void onClipRect (const SkRect&, SkClipOp, ClipEdgeStyle) override; 43 void onDrawRect (const SkRect&, const SkPaint&) override; 45 void onDrawOval (const SkRect&, const SkPaint&) override; 46 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 52 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; 60 const SkRSXform[], const SkRect*, const SkPaint&) override; 64 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&, 66 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const SkPaint*) override; 67 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, 71 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override; [all …]
|
D | SkClipStack.h | 72 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() 114 const SkRect& getDeviceSpaceRect() const { in getDeviceSpaceRect() 154 const SkRect& getBounds() const; 160 bool contains(const SkRect& rect) const; 211 SkRect fFiniteBound; 230 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() 239 void initRect(int saveCount, const SkRect&, const SkMatrix&, SkClipOp, bool doAA); 252 bool rectRectIntersectAllowed(const SkRect& newR, bool newAA) const; 264 inline void combineBoundsDiff(FillCombo combination, const SkRect& prevFinite); 265 inline void combineBoundsXOR(int combination, const SkRect& prevFinite); [all …]
|
D | SkRecorder.h | 43 SkRecorder(SkRecord*, const SkRect& bounds, SkMiniRecorder* = nullptr); 46 void reset(SkRecord*, const SkRect& bounds, DrawPictureMode, SkMiniRecorder* = nullptr); 91 const SkRect* cull, 103 void onDrawRect(const SkRect&, const SkPaint&) override; 105 void onDrawOval(const SkRect&, const SkPaint&) override; 106 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 110 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 113 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 115 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, 117 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, [all …]
|
/external/skqp/include/utils/ |
D | SkNoDrawCanvas.h | 47 void onDrawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, in onDrawTextRSXform() argument 55 void onDrawRect(const SkRect&, const SkPaint&) override {} in onDrawRect() argument 57 void onDrawOval(const SkRect&, const SkPaint&) override {} in onDrawOval() argument 58 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override {} in onDrawArc() argument 62 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, in onDrawBitmapRect() argument 65 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument 67 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override {} in onDrawImageNine() argument 68 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, in onDrawBitmapNine() argument 70 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, in onDrawImageLattice() argument 72 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&, in onDrawBitmapLattice() argument [all …]
|
/external/skia/include/utils/ |
D | SkNoDrawCanvas.h | 47 void onDrawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, in onDrawTextRSXform() argument 55 void onDrawRect(const SkRect&, const SkPaint&) override {} in onDrawRect() argument 57 void onDrawOval(const SkRect&, const SkPaint&) override {} in onDrawOval() argument 58 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override {} in onDrawArc() argument 62 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, in onDrawBitmapRect() argument 65 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument 67 void onDrawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*) override {} in onDrawImageNine() argument 68 void onDrawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, in onDrawBitmapNine() argument 70 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, in onDrawImageLattice() argument 72 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&, in onDrawBitmapLattice() argument [all …]
|
/external/skia/src/gpu/ops/ |
D | GrRectOpFactory.h | 19 struct SkRect; 31 std::unique_ptr<GrDrawOp> MakeAAFill(GrPaint&&, const SkMatrix&, const SkRect&, 35 const SkMatrix& localMatrix, const SkRect&); 37 std::unique_ptr<GrDrawOp> MakeAAFillWithLocalRect(GrPaint&&, const SkMatrix&, const SkRect& rect, 38 const SkRect& localRect); 42 std::unique_ptr<GrDrawOp> MakeNonAAFill(GrPaint&&, const SkMatrix& viewMatrix, const SkRect& rect, 46 const SkMatrix& localMatrix, const SkRect&, 50 std::unique_ptr<GrDrawOp> MakeNonAAFillWithLocalRect(GrPaint&&, const SkMatrix&, const SkRect& rect, 51 const SkRect& localRect, GrAAType); 55 std::unique_ptr<GrDrawOp> MakeAAStroke(GrPaint&&, const SkMatrix&, const SkRect&, [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrRectOpFactory.h | 19 struct SkRect; 31 std::unique_ptr<GrDrawOp> MakeAAFill(GrPaint&&, const SkMatrix&, const SkRect&, 35 const SkMatrix& localMatrix, const SkRect&); 37 std::unique_ptr<GrDrawOp> MakeAAFillWithLocalRect(GrPaint&&, const SkMatrix&, const SkRect& rect, 38 const SkRect& localRect); 42 std::unique_ptr<GrDrawOp> MakeNonAAFill(GrPaint&&, const SkMatrix& viewMatrix, const SkRect& rect, 46 const SkMatrix& localMatrix, const SkRect&, 50 std::unique_ptr<GrDrawOp> MakeNonAAFillWithLocalRect(GrPaint&&, const SkMatrix&, const SkRect& rect, 51 const SkRect& localRect, GrAAType); 55 std::unique_ptr<GrDrawOp> MakeAAStroke(GrPaint&&, const SkMatrix&, const SkRect&, [all …]
|
/external/skqp/bench/ |
D | BlurRectsBench.cpp | 18 BlurRectsBench(SkRect outer, SkRect inner, SkScalar radius) { in BlurRectsBench() 47 SkRect fOuter; 48 SkRect fInner; 56 BlurRectsNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNinePatchBench() 66 BlurRectsNonNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNonNinePatchBench() 75 DEF_BENCH(return new BlurRectsNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100), 76 SkRect::MakeXYWH(20, 20, 60, 60), 78 DEF_BENCH(return new BlurRectsNonNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100), 79 SkRect::MakeXYWH(50, 50, 10, 10),
|
/external/skia/bench/ |
D | BlurRectsBench.cpp | 18 BlurRectsBench(SkRect outer, SkRect inner, SkScalar radius) { in BlurRectsBench() 47 SkRect fOuter; 48 SkRect fInner; 56 BlurRectsNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNinePatchBench() 66 BlurRectsNonNinePatchBench(SkRect outer, SkRect inner, SkScalar radius) in BlurRectsNonNinePatchBench() 75 DEF_BENCH(return new BlurRectsNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100), 76 SkRect::MakeXYWH(20, 20, 60, 60), 78 DEF_BENCH(return new BlurRectsNonNinePatchBench(SkRect::MakeXYWH(10, 10, 100, 100), 79 SkRect::MakeXYWH(50, 50, 10, 10),
|