Home
last modified time | relevance | path

Searched refs:offscreen (Results 1 – 25 of 174) sorted by relevance

1234567

/third_party/flutter/flutter/packages/flutter/test/rendering/
Dindependent_layout_test.dart39 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/
Dclear_swizzle.cpp67 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/
DCanvas_destructor.cpp10 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()
DDevice_Text.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
19 offscreen.drawString(",,,,", 0, 4, paint);
20 offscreen.translate(0, 7);
DBitmap_extractAlpha.cpp9 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()
DBitmap_extractAlpha_3.cpp9 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()
DBitmap_extractAlpha_2.cpp13 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()
DImageInfo_MakeN32.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
13 offscreen.drawString("g", 0, 10, paint);
DBitmap_tryAllocPixels_2.cpp9 SkCanvas offscreen(bitmap); in draw() local
10 offscreen.scale(.25f, .5f); in draw()
12 offscreen.drawBitmap(source, -y, -y); in draw()
DBitmap_allocPixels_2.cpp9 SkCanvas offscreen(bitmap); in draw() local
10 offscreen.scale(.5f, .5f); in draw()
12 offscreen.drawBitmap(source, -y, -y); in draw()
DBitmap_tryAllocPixels.cpp10 SkCanvas offscreen(bitmap); in draw() local
11 offscreen.scale(.5f, .5f); in draw()
13 offscreen.drawBitmap(source, -x, 0); in draw()
DImageInfo_MakeN32Premul_2.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
15 offscreen.drawString("\xF0\x9F\x98\xB9", 1, 15, paint);
DImageInfo_MakeN32Premul.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
15 offscreen.drawString("\xF0\x9F\x98\xB8", 1, 15, paint);
DBitmap_allocPixels.cpp10 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/
DCanvas_destructor.cpp10 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()
DDevice_Text.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
19 offscreen.drawString(",,,,", 0, 4, paint);
20 offscreen.translate(0, 7);
DBitmap_extractAlpha.cpp9 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()
Dno_gpu_blur.cpp8 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()
DBitmap_extractAlpha_3.cpp9 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()
DBitmap_extractAlpha_2.cpp13 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()
DImageInfo_MakeN32.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
13 offscreen.drawString("g", 0, 10, paint);
DBitmap_tryAllocPixels_2.cpp9 SkCanvas offscreen(bitmap); in draw() local
10 offscreen.scale(.25f, .5f); in draw()
12 offscreen.drawImage(source.asImage(), -y, -y); in draw()
DImageInfo_MakeN32Premul.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
15 offscreen.drawString("\xF0\x9F\x98\xB8", 1, 15, paint);
DImageInfo_MakeN32Premul_2.cpp10 SkCanvas offscreen(bitmap);
11 offscreen.clear(SK_ColorWHITE);
15 offscreen.drawString("\xF0\x9F\x98\xB9", 1, 15, paint);
DBitmap_tryAllocPixels.cpp10 SkCanvas offscreen(bitmap); in draw() local
11 offscreen.scale(.5f, .5f); in draw()
13 offscreen.drawImage(source.asImage(), -x, 0); in draw()

1234567