Searched refs:srcBM (Results 1 – 10 of 10) sorted by relevance
/external/skia/tests/ |
D | ImageFilterCacheTest.cpp | 151 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()
|
D | BitmapCopyTest.cpp | 171 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/ |
D | ImageFilterCacheTest.cpp | 151 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()
|
D | BitmapCopyTest.cpp | 171 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/ |
D | RectBench.cpp | 294 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/ |
D | RectBench.cpp | 294 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/ |
D | SkSpecialImage.cpp | 330 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/ |
D | SkArithmeticImageFilter.cpp | 406 SkBitmap srcBM; in drawForeground() local 408 if (!img->getROPixels(&srcBM)) { in drawForeground() 411 if (!srcBM.peekPixels(&src)) { in drawForeground()
|
/external/skqp/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 405 SkBitmap srcBM; in drawForeground() local 407 if (!img->getROPixels(&srcBM)) { in drawForeground() 410 if (!srcBM.peekPixels(&src)) { in drawForeground()
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 329 const SkBitmap* srcBM = &bm; in MakeFromRaster() local 338 srcBM = &tmp; in MakeFromRaster() 340 return sk_make_sp<SkSpecialImage_Raster>(subset, *srcBM, props); in MakeFromRaster()
|