Home
last modified time | relevance | path

Searched refs:srcBM (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkSpriteBlitter_RGB16.cpp81 #define SkSPRITE_PREAMBLE(srcBM, x, y) int scale = SkAlpha255To256(fSrcAlpha); argument
84 #define SkSPRITE_POSTAMBLE(srcBM) argument
103 #define SkSPRITE_PREAMBLE(srcBM, x, y) argument
106 #define SkSPRITE_POSTAMBLE(srcBM) argument
124 #define SkSPRITE_PREAMBLE(srcBM, x, y) int scale = SkAlpha15To16(fSrcAlpha); argument
127 #define SkSPRITE_POSTAMBLE(srcBM) argument
140 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.ctable()->readColors() argument
143 #define SkSPRITE_POSTAMBLE(srcBM) argument
154 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.ctable()->readColors();… argument
157 #define SkSPRITE_POSTAMBLE(srcBM) argument
[all …]
DSkCanvas.cpp1139 SkBitmap srcBM; in draw_filter_into_device() local
1154 GrWrapTextureInBitmap(tex, src->width(), src->height(), src->isOpaque(), &srcBM); in draw_filter_into_device()
1158 srcBM = src->accessBitmap(false); in draw_filter_into_device()
1168 c.drawBitmap(srcBM, x, y, &p); in draw_filter_into_device()
/external/skia/tests/
DBlitRowTest.cpp123 SkBitmap srcBM; in test_00_FF() local
124 srcBM.allocN32Pixels(W, 1); in test_00_FF()
134 srcBM.eraseColor(gSrcRec[j].fSrc); in test_00_FF()
147 canvas.drawBitmap(srcBM, 0, 0, &paint); in test_00_FF()
203 SkBitmap srcBM; in test_diagonal() local
204 srcBM.allocN32Pixels(W, H); in test_diagonal()
206 0, 0, SkIntToScalar(srcBM.width()), SkIntToScalar(srcBM.height()) }; in test_diagonal()
209 Mesh mesh(srcBM, &paint); in test_diagonal()
229 srcBM.eraseARGB(0xFF, c, c, c); in test_diagonal()
DImageFilterCacheTest.cpp134 SkBitmap srcBM = create_bm(); in DEF_TEST() local
138 SkAutoTUnref<SkSpecialImage> fullImg(SkSpecialImage::NewFromRaster(nullptr, full, srcBM)); in DEF_TEST()
142 SkAutoTUnref<SkSpecialImage> subsetImg(SkSpecialImage::NewFromRaster(nullptr, subset, srcBM)); in DEF_TEST()
168 SkBitmap srcBM = create_bm(); in DEF_TEST() local
170 SkAutoTUnref<SkImage> srcImage(SkImage::NewFromBitmap(srcBM)); in DEF_TEST()
179 SkBitmap srcBM = create_bm(); in create_texture() local
187 return context->textureProvider()->createTexture(desc, SkBudgeted::kNo, srcBM.getPixels(), 0); in create_texture()
DBitmapCopyTest.cpp583 SkBitmap srcBM; in DEF_TEST() local
584 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
609 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST()
/external/skia/bench/
DRectBench.cpp237 SkBitmap srcBM; in onDraw() local
238 srcBM.allocN32Pixels(10, 1); in onDraw()
239 srcBM.eraseColor(0xFF00FF00); in onDraw()
242 s = SkShader::CreateBitmapShader(srcBM, SkShader::kClamp_TileMode, in onDraw()