Searched refs:kTestRectSize (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | recordopts.cpp | 16 constexpr int kTestRectSize = 50; variable 57 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_save_layer_draw_rect_restore_sequence() 73 bitmap.allocN32Pixels(kTestRectSize, kTestRectSize); in draw_save_layer_draw_bitmap_restore_sequence() 85 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_save_layer_draw_bitmap_restore_sequence() 100 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_svg_opacity_and_filter_layer_sequence() 104 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kTestRectSize + 2), in draw_svg_opacity_and_filter_layer_sequence() 105 SkIntToScalar(kTestRectSize + 2)); in draw_svg_opacity_and_filter_layer_sequence() 132 DEF_SIMPLE_GM(recordopts, canvas, (kTestRectSize+1)*2, (kTestRectSize+1)*15) { 156 canvas->translate(SkIntToScalar(kTestRectSize) + SkIntToScalar(1), SkIntToScalar(0)); 159 drawTestSequence(recorder.beginRecording(SkIntToScalar(kTestRectSize), [all …]
|
/external/skia/gm/ |
D | recordopts.cpp | 17 constexpr int kTestRectSize = 50; variable 58 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_save_layer_draw_rect_restore_sequence() 74 bitmap.allocN32Pixels(kTestRectSize, kTestRectSize); in draw_save_layer_draw_bitmap_restore_sequence() 85 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_save_layer_draw_bitmap_restore_sequence() 100 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_svg_opacity_and_filter_layer_sequence() 104 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kTestRectSize + 2), in draw_svg_opacity_and_filter_layer_sequence() 105 SkIntToScalar(kTestRectSize + 2)); in draw_svg_opacity_and_filter_layer_sequence() 132 DEF_SIMPLE_GM(recordopts, canvas, (kTestRectSize+1)*2, (kTestRectSize+1)*15) { 159 canvas->translate(SkIntToScalar(kTestRectSize) + SkIntToScalar(1), SkIntToScalar(0)); 162 drawTestSequence(recorder.beginRecording(SkIntToScalar(kTestRectSize), [all …]
|