Home
last modified time | relevance | path

Searched refs:fBmp (Results 1 – 7 of 7) sorted by relevance

/external/skia/gm/
Dyuvtorgbeffect.cpp49 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
51 fBmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
53 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
56 pixels[i] = (unsigned char*)fBmp[i].getPixels(); in onOnceBeforeDraw()
63 const size_t nbBytes = fBmp[i].rowBytes() * fBmp[i].height(); in onOnceBeforeDraw()
91 desc.fWidth = fBmp[i].width(); in onDraw()
92 desc.fHeight = fBmp[i].height(); in onDraw()
93 desc.fConfig = SkImageInfo2GrPixelConfig(fBmp[i].info(), *context->caps()); in onDraw()
97 fBmp[i].getPixels(), fBmp[i].rowBytes()); in onDraw()
110 SkRect renderRect = SkRect::MakeWH(SkIntToScalar(fBmp[0].width()), in onDraw()
[all …]
Dtexturedomaineffect.cpp49 fBmp.allocPixels(ii); in onOnceBeforeDraw()
50 SkCanvas canvas(fBmp); in onOnceBeforeDraw()
57 canvas.drawOval(SkRect::MakeXYWH(-5.f, -5.f, fBmp.width() + 10.f, fBmp.height() + 10.f), in onOnceBeforeDraw()
64 canvas.drawOval(SkRect::MakeXYWH(-5.f, -5.f, fBmp.width() + 10.f, fBmp.height() + 10.f), in onOnceBeforeDraw()
71 canvas.drawOval(SkRect::MakeXYWH(-5.f, -5.f, fBmp.width() + 10.f, fBmp.height() + 10.f), in onOnceBeforeDraw()
89 desc.fWidth = fBmp.width(); in onDraw()
90 desc.fHeight = fBmp.height(); in onDraw()
91 desc.fConfig = SkImageInfo2GrPixelConfig(fBmp.info(), *context->caps()); in onDraw()
95 fBmp.getPixels(), in onDraw()
96 fBmp.rowBytes())); in onDraw()
[all …]
Dbmpfilterqualityrepeat.cpp23 fBmp.allocN32Pixels(40, 40, true); in onOnceBeforeDraw()
24 SkCanvas canvas(fBmp); in onOnceBeforeDraw()
76 bmpPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTM, kTM, &lm)); in drawAll()
85 SkBitmap fBmp; member in BmpFilterQualityRepeat
Dconvexpolyclip.cpp138 fBmp = make_bmp(100, 100); in onOnceBeforeDraw()
148 canvas->drawBitmapRect(fBmp, SkRect::MakeIWH(size.fWidth, size.fHeight), &bgPaint); in onDraw()
178 canvas->drawBitmap(fBmp, 0, 0); in onDraw()
180 x += fBmp.width() + kMargin; in onDraw()
211 y += fBmp.height() + kMargin; in onDraw()
214 startX += 2 * fBmp.width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
296 SkBitmap fBmp; member in skiagm::ConvexPolyClip
Dshadertext3.cpp64 makebm(&fBmp, kPointSize / 4, kPointSize / 4); in onOnceBeforeDraw()
73 canvas->drawBitmap(fBmp, 5.f, 5.f, &bmpPaint); in onDraw()
109 fillPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTileModes[tm0], in onDraw()
128 SkBitmap fBmp; member in skiagm::ShaderText3GM
Dtallstretchedbitmaps.cpp74 fTallBmps[i].fItemCnt = make_bm(&fTallBmps[i].fBmp, h); in onOnceBeforeDraw()
82 SkBitmap bmp = fTallBmps[i].fBmp; in onDraw()
98 SkBitmap fBmp; member
/external/skia/bench/
DAlternatingColorPatternBench.cpp94 SkBitmap fBmp; member in AlternatingColorPatternBench
114 makebm(&fBmp, w, h); in onDelayedSetup()
115 fBmShader = SkShader::MakeBitmapShader(fBmp, in onDelayedSetup()