Home
last modified time | relevance | path

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

/external/skia/gm/
Dtexturedomaineffect.cpp47 fBmp.allocN32Pixels(100, 100); 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()
92 GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, fBmp, NULL); in onDraw()
108 SkIRect::MakeWH(fBmp.width(), fBmp.height()), in onDraw()
109 SkIRect::MakeXYWH(fBmp.width() / 4, in onDraw()
110 fBmp.height() / 4, in onDraw()
111 fBmp.width() / 2, in onDraw()
[all …]
Dconvexpolyclip.cpp134 fBmp = make_bmp(100, 100); in onOnceBeforeDraw()
146 canvas->drawBitmapRectToRect(fBmp, NULL, dstRect, &bgPaint); in onDraw()
175 canvas->drawBitmap(fBmp, 0, 0); in onDraw()
177 x += fBmp.width() + kMargin; in onDraw()
208 y += fBmp.height() + kMargin; in onDraw()
211 startX += 2 * fBmp.width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
294 SkBitmap fBmp; member in skiagm::ConvexPolyClip
Dshadertext3.cpp66 makebm(&fBmp, kPointSize / 4, kPointSize / 4); in onOnceBeforeDraw()
75 canvas->drawBitmap(fBmp, 5.f, 5.f, &bmpPaint); in onDraw()
105 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(fBmp, in onDraw()
132 SkBitmap fBmp; member in skiagm::ShaderText3GM
/external/chromium_org/third_party/skia/gm/
Dtexturedomaineffect.cpp50 fBmp.allocN32Pixels(kTargetWidth, kTargetHeight); in onOnceBeforeDraw()
51 SkCanvas canvas(fBmp); in onOnceBeforeDraw()
59 fBmp.width() + 10.f, fBmp.height() + 10.f), paint); in onOnceBeforeDraw()
66 fBmp.width() + 10.f, fBmp.height() + 10.f), paint); in onOnceBeforeDraw()
73 fBmp.width() + 10.f, fBmp.height() + 10.f), paint); in onOnceBeforeDraw()
95 GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, fBmp, NULL); in onDraw()
108 SkIRect::MakeWH(fBmp.width(), fBmp.height()), in onDraw()
109 SkIRect::MakeXYWH(fBmp.width() / 4, in onDraw()
110 fBmp.height() / 4, in onDraw()
111 fBmp.width() / 2, in onDraw()
[all …]
Dyuvtorgbeffect.cpp48 fBmp[0].allocPixels(info); in onOnceBeforeDraw()
49 fBmp[1].allocPixels(info); in onOnceBeforeDraw()
50 fBmp[2].allocPixels(info); in onOnceBeforeDraw()
53 pixels[i] = (unsigned char*)fBmp[i].getPixels(); in onOnceBeforeDraw()
87 texture[0] = GrLockAndRefCachedBitmapTexture(context, fBmp[0], NULL); in onDraw()
88 texture[1] = GrLockAndRefCachedBitmapTexture(context, fBmp[1], NULL); in onDraw()
89 texture[2] = GrLockAndRefCachedBitmapTexture(context, fBmp[2], NULL); in onDraw()
100 SkRect renderRect = SkRect::MakeWH(SkIntToScalar(fBmp[0].width()), in onDraw()
101 SkIntToScalar(fBmp[0].height())); in onDraw()
134 SkBitmap fBmp[3]; member in skiagm::YUVtoRGBEffect
Dconvexpolyclip.cpp135 fBmp = make_bmp(100, 100); in onOnceBeforeDraw()
147 canvas->drawBitmapRectToRect(fBmp, NULL, dstRect, &bgPaint); in onDraw()
177 canvas->drawBitmap(fBmp, 0, 0); in onDraw()
179 x += fBmp.width() + kMargin; in onDraw()
210 y += fBmp.height() + kMargin; in onDraw()
213 startX += 2 * fBmp.width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
296 SkBitmap fBmp; member in skiagm::ConvexPolyClip
Dshadertext3.cpp66 makebm(&fBmp, kPointSize / 4, kPointSize / 4); in onOnceBeforeDraw()
75 canvas->drawBitmap(fBmp, 5.f, 5.f, &bmpPaint); in onDraw()
106 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(fBmp, in onDraw()
134 SkBitmap fBmp; member in skiagm::ShaderText3GM
/external/chromium_org/third_party/skia/bench/
DAlternatingColorPatternBench.cpp93 SkBitmap fBmp; member in AlternatingColorPatternBench
118 makebm(&fBmp, w, h); in onPreDraw()
119 fBmShader = SkShader::CreateBitmapShader(fBmp, in onPreDraw()