/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | independent_layout_test.dart | 39 test('onscreen layout does not affect offscreen', () { 41 final TestLayout offscreen = TestLayout(); 44 expect(offscreen.child.hasSize, isFalse); 45 expect(offscreen.painted, isFalse); 46 // Attach the offscreen to a custom render view and owner 50 renderView.child = offscreen.root; 57 // Make sure the offscreen didn't get laid out 58 expect(offscreen.child.hasSize, isFalse); 59 expect(offscreen.painted, isFalse); 60 // Now lay out the offscreen [all …]
|
/third_party/skia/gm/ |
D | clear_swizzle.cpp | 67 auto offscreen = make_offscreen({2*kSize, 2*kSize}); variable 69 offscreen->clear(c.rect, c.color); 71 sfc->blitTexture(offscreen->readSurfaceView(), 77 offscreen = make_offscreen(c.rect.size()); 78 offscreen->clear(SkIRect::MakeSize(c.rect.size()), c.color); 79 sfc->blitTexture(offscreen->readSurfaceView(), 80 SkIRect::MakeSize(offscreen->dimensions()),
|
/third_party/flutter/skia/docs/examples/ |
D | Canvas_destructor.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 13 offscreen.drawString("ABC", 20, 160, font, paint); in draw() 15 offscreen.saveLayerAlpha(&layerBounds, 128); in draw() 16 offscreen.clear(SK_ColorWHITE); in draw() 17 offscreen.drawString("DEF", 20, 160, font, paint); in draw()
|
D | Device_Text.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 19 offscreen.drawString(",,,,", 0, 4, paint); 20 offscreen.translate(0, 7);
|
D | Bitmap_extractAlpha.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(0); in draw() 16 offscreen.drawCircle(50, 50, 39, paint); in draw() 17 offscreen.flush(); in draw()
|
D | Bitmap_extractAlpha_3.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(0); in draw() 16 offscreen.drawCircle(50, 50, 39, paint); in draw() 17 offscreen.flush(); in draw()
|
D | Bitmap_extractAlpha_2.cpp | 13 SkCanvas offscreen(bitmap); in draw() local 14 offscreen.clear(0); in draw() 20 offscreen.drawCircle(50, 50, 39, paint); in draw() 21 offscreen.flush(); in draw()
|
D | ImageInfo_MakeN32.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 13 offscreen.drawString("g", 0, 10, paint);
|
D | Bitmap_tryAllocPixels_2.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.scale(.25f, .5f); in draw() 12 offscreen.drawBitmap(source, -y, -y); in draw()
|
D | Bitmap_allocPixels_2.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.scale(.5f, .5f); in draw() 12 offscreen.drawBitmap(source, -y, -y); in draw()
|
D | Bitmap_tryAllocPixels.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 11 offscreen.scale(.5f, .5f); in draw() 13 offscreen.drawBitmap(source, -x, 0); in draw()
|
D | ImageInfo_MakeN32Premul_2.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 15 offscreen.drawString("\xF0\x9F\x98\xB9", 1, 15, paint);
|
D | ImageInfo_MakeN32Premul.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 15 offscreen.drawString("\xF0\x9F\x98\xB8", 1, 15, paint);
|
D | Bitmap_allocPixels.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 11 offscreen.scale(.5f, .5f); in draw() 13 offscreen.drawBitmap(source, 0, -y); in draw()
|
/third_party/skia/docs/examples/ |
D | Canvas_destructor.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 13 offscreen.drawString("ABC", 20, 160, font, paint); in draw() 15 offscreen.saveLayerAlpha(&layerBounds, 128); in draw() 16 offscreen.clear(SK_ColorWHITE); in draw() 17 offscreen.drawString("DEF", 20, 160, font, paint); in draw()
|
D | Device_Text.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 19 offscreen.drawString(",,,,", 0, 4, paint); 20 offscreen.translate(0, 7);
|
D | Bitmap_extractAlpha.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(0); in draw() 16 offscreen.drawCircle(50, 50, 39, paint); in draw() 17 offscreen.flush(); in draw()
|
D | no_gpu_blur.cpp | 8 SkCanvas offscreen(bitmap); in draw() local 9 offscreen.clear(0); in draw() 15 offscreen.drawCircle(50, 50, 39, paint); in draw() 16 offscreen.flush(); in draw()
|
D | Bitmap_extractAlpha_3.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(0); in draw() 16 offscreen.drawCircle(50, 50, 39, paint); in draw() 17 offscreen.flush(); in draw()
|
D | Bitmap_extractAlpha_2.cpp | 13 SkCanvas offscreen(bitmap); in draw() local 14 offscreen.clear(0); in draw() 20 offscreen.drawCircle(50, 50, 39, paint); in draw() 21 offscreen.flush(); in draw()
|
D | ImageInfo_MakeN32.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 13 offscreen.drawString("g", 0, 10, paint);
|
D | Bitmap_tryAllocPixels_2.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.scale(.25f, .5f); in draw() 12 offscreen.drawImage(source.asImage(), -y, -y); in draw()
|
D | ImageInfo_MakeN32Premul.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 15 offscreen.drawString("\xF0\x9F\x98\xB8", 1, 15, paint);
|
D | ImageInfo_MakeN32Premul_2.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 15 offscreen.drawString("\xF0\x9F\x98\xB9", 1, 15, paint);
|
D | Bitmap_tryAllocPixels.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 11 offscreen.scale(.5f, .5f); in draw() 13 offscreen.drawImage(source.asImage(), -x, 0); in draw()
|