Home
last modified time | relevance | path

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

/external/skia/tests/
DImageFilterCacheTest.cpp151 SkBitmap srcBM = create_bm(); in DEF_TEST() local
155 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromRaster(full, srcBM)); in DEF_TEST()
159 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromRaster(subset, srcBM)); in DEF_TEST()
187 SkBitmap srcBM = create_bm(); in DEF_TEST() local
189 sk_sp<SkImage> srcImage(SkImage::MakeFromBitmap(srcBM)); in DEF_TEST()
203 SkBitmap srcBM = create_bm(); in create_proxy() local
204 sk_sp<SkImage> srcImage(SkImage::MakeFromBitmap(srcBM)); in create_proxy()
DBitmapCopyTest.cpp171 SkBitmap srcBM; in DEF_TEST() local
172 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
197 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST()
/external/skqp/tests/
DImageFilterCacheTest.cpp151 SkBitmap srcBM = create_bm(); in DEF_TEST() local
155 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromRaster(full, srcBM)); in DEF_TEST()
159 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromRaster(subset, srcBM)); in DEF_TEST()
187 SkBitmap srcBM = create_bm(); in DEF_TEST() local
189 sk_sp<SkImage> srcImage(SkImage::MakeFromBitmap(srcBM)); in DEF_TEST()
203 SkBitmap srcBM = create_bm(); in create_proxy() local
204 sk_sp<SkImage> srcImage(SkImage::MakeFromBitmap(srcBM)); in create_proxy()
DBitmapCopyTest.cpp171 SkBitmap srcBM; in DEF_TEST() local
172 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
197 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST()
/external/skqp/bench/
DRectBench.cpp294 SkBitmap srcBM; in onDraw() local
295 srcBM.allocN32Pixels(10, 1); in onDraw()
296 srcBM.eraseColor(0xFF00FF00); in onDraw()
298 paint.setShader(SkShader::MakeBitmapShader(srcBM, SkShader::kClamp_TileMode, in onDraw()
/external/skia/bench/
DRectBench.cpp294 SkBitmap srcBM; in onDraw() local
295 srcBM.allocN32Pixels(10, 1); in onDraw()
296 srcBM.eraseColor(0xFF00FF00); in onDraw()
298 paint.setShader(SkShader::MakeBitmapShader(srcBM, SkShader::kClamp_TileMode, in onDraw()
/external/skqp/src/core/
DSkSpecialImage.cpp330 const SkBitmap* srcBM = &bm; in MakeFromRaster() local
339 srcBM = &tmp; in MakeFromRaster()
341 return sk_make_sp<SkSpecialImage_Raster>(subset, *srcBM, props); in MakeFromRaster()
/external/skia/src/effects/imagefilters/
DSkArithmeticImageFilter.cpp406 SkBitmap srcBM; in drawForeground() local
408 if (!img->getROPixels(&srcBM)) { in drawForeground()
411 if (!srcBM.peekPixels(&src)) { in drawForeground()
/external/skqp/src/effects/imagefilters/
DSkArithmeticImageFilter.cpp405 SkBitmap srcBM; in drawForeground() local
407 if (!img->getROPixels(&srcBM)) { in drawForeground()
410 if (!srcBM.peekPixels(&src)) { in drawForeground()
/external/skia/src/core/
DSkSpecialImage.cpp329 const SkBitmap* srcBM = &bm; in MakeFromRaster() local
338 srcBM = &tmp; in MakeFromRaster()
340 return sk_make_sp<SkSpecialImage_Raster>(subset, *srcBM, props); in MakeFromRaster()