Home
last modified time | relevance | path

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

/external/skia/gm/
Dtexturedomaineffect.cpp47 fBmp.allocN32Pixels(kTargetWidth, kTargetHeight); in onOnceBeforeDraw()
48 SkCanvas canvas(fBmp); in onOnceBeforeDraw()
56 fBmp.width() + 10.f, fBmp.height() + 10.f), paint); in onOnceBeforeDraw()
63 fBmp.width() + 10.f, fBmp.height() + 10.f), paint); in onOnceBeforeDraw()
70 fBmp.width() + 10.f, fBmp.height() + 10.f), paint); in onOnceBeforeDraw()
89 SkAutoTUnref<GrTexture> texture(GrRefCachedBitmapTexture(context, fBmp, in onDraw()
103 fBmp.bounds(), in onDraw()
104 SkIRect::MakeXYWH(fBmp.width() / 4, in onDraw()
105 fBmp.height() / 4, in onDraw()
106 fBmp.width() / 2, in onDraw()
[all …]
Dyuvtorgbeffect.cpp50 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
52 fBmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
54 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
57 pixels[i] = (unsigned char*)fBmp[i].getPixels(); in onOnceBeforeDraw()
64 const size_t nbBytes = fBmp[i].rowBytes() * fBmp[i].height(); in onOnceBeforeDraw()
89 texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0], in onDraw()
91 texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1], in onDraw()
93 texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2], in onDraw()
107 SkRect renderRect = SkRect::MakeWH(SkIntToScalar(fBmp[0].width()), in onDraw()
108 SkIntToScalar(fBmp[0].height())); in onDraw()
[all …]
Dbmpfilterqualityrepeat.cpp22 fBmp.allocN32Pixels(40, 40, true); in onOnceBeforeDraw()
23 SkCanvas canvas(fBmp); in onOnceBeforeDraw()
63 bmpPaint.setShader(SkShader::CreateBitmapShader(fBmp, kTM, kTM, &lm))->unref(); in onDraw()
73 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.cpp63 makebm(&fBmp, kPointSize / 4, kPointSize / 4); in onOnceBeforeDraw()
72 canvas->drawBitmap(fBmp, 5.f, 5.f, &bmpPaint); in onDraw()
103 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(fBmp, in onDraw()
131 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/src/gpu/
DGrImageIDTextureAdjuster.cpp24 , fBmp(bmp) {} in GrBitmapTextureAdjuster()
27 if (fBmp->isVolatile()) { in makeCopyKey()
35 GrMakeKeyFromImageID(&baseKey, fBmp->getGenerationID(), in makeCopyKey()
36 SkIRect::MakeWH(fBmp->width(), fBmp->height())); in makeCopyKey()
41 GrInstallBitmapUniqueKeyInvalidator(copyKey, fBmp->pixelRef()); in didCacheCopy()
DGrImageIDTextureAdjuster.h29 const SkBitmap* fBmp; variable
/external/skia/bench/
DAlternatingColorPatternBench.cpp94 SkBitmap fBmp; member in AlternatingColorPatternBench
119 makebm(&fBmp, w, h); in onDelayedSetup()
120 fBmShader = SkShader::CreateBitmapShader(fBmp, in onDelayedSetup()