Home
last modified time | relevance | path

Searched refs:fImg (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/samplecode/
DSampleMixer.cpp27 sk_sp<SkImage> fImg; member in MixerView
43 canvas->drawImage(fImg, 0, 0, SkSamplingOptions(), &paint); in dodraw()
46 canvas->drawImage(fImg, fImg->width() + gap * fWeight, 0, in dodraw()
50 canvas->drawImage(fImg, 2*fImg->width() + gap, 0, SkSamplingOptions(), &paint); in dodraw()
54 if (!fImg) { in onDrawContent()
55 fImg = GetResourceAsImage("images/mandrill_256.png"); in onDrawContent()
60 float gap = fImg->width() * 3; in onDrawContent()
64 canvas->translate(0, fImg->height() + 10); in onDrawContent()
66 canvas->translate(0, fImg->height() + 10); in onDrawContent()
DSampleTiming.cpp17 sk_sp<SkImage> fImg; member
24 fImg = surf->makeImageSnapshot(); in onOnceBeforeDraw()
31 canvas->drawImage(fImg, 0,0); in onDrawContent()
43 canvas->drawImageRect(fImg.get(), in onDrawContent()
75 offscreen->getCanvas()->drawImageRect(fImg, in onDrawContent()
/third_party/skia/gm/
Dshowmiplevels.cpp30 sk_sp<SkImage> fImg; member in ShowMipLevels3
37 fImg = GetResourceAsImage("images/ship.png"); in onOnceBeforeDraw()
38 fImg = fImg->makeRasterImage(); // makeWithMips only works on raster for now in onOnceBeforeDraw()
42 SkMipmapBuilder builder(fImg->imageInfo()); in onOnceBeforeDraw()
47 fImg = builder.attachTo(fImg.get()); in onOnceBeforeDraw()
75 paint.setShader(fImg->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in draw_downscaling()
Dconvexpolyclip.cpp153 fImg = make_img(100, 100); in onOnceBeforeDraw()
163 canvas->drawImageRect(fImg, SkRect::MakeIWH(size.fWidth, size.fHeight), in onDraw()
189 canvas->drawImage(fImg, 0, 0); in onDraw()
191 x += fImg->width() + kMargin; in onDraw()
220 y += fImg->height() + kMargin; in onDraw()
223 startX += 2 * fImg->width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
302 sk_sp<SkImage> fImg;; member in skiagm::ConvexPolyClip
/third_party/skia/tests/
DSerialProcsTest.cpp26 SkImage* fImg; member
50 return sk_ref_sp(state->fImg); in DEF_TEST()