Searched defs:srcBM (Results 1 - 3 of 3) sorted by relevance

/external/skia/bench/
H A DRectBench.cpp211 SkBitmap srcBM; local
212 srcBM.allocN32Pixels(10, 1);
213 srcBM.eraseColor(0xFF00FF00);
216 s = SkShader::CreateBitmapShader(srcBM, SkShader::kClamp_TileMode,
/external/skia/src/core/
H A DSkMipMap.cpp12 static void downsample32_nocheck(void* dst, int, int, const void* srcPtr, const SkBitmap& srcBM) { argument
23 p += srcBM.rowBytes() >> 2;
33 static void downsample32_check(void* dst, int x, int y, const void* srcPtr, const SkBitmap& srcBM) { argument
39 SkASSERT(srcBM.getAddr32(x, y) == p);
44 if (x < srcBM.width() - 1) {
50 if (y < srcBM.height() - 1) {
51 p += srcBM.rowBytes() >> 2;
54 if (x < srcBM.width() - 1) {
72 static void downsample16(void* dst, int x, int y, const void* srcPtr, const SkBitmap& srcBM) { argument
78 SkASSERT(srcBM
109 downsample4444(void* dst, int x, int y, const void* srcPtr, const SkBitmap& srcBM) argument
138 downsample8_nocheck(void* dst, int, int, const void* srcPtr, const SkBitmap& srcBM) argument
144 downsample8_check(void* dst, int x, int y, const void* srcPtr, const SkBitmap& srcBM) argument
[all...]
/external/skia/tests/
H A DBlitRowTest.cpp123 SkBitmap srcBM; local
124 srcBM.allocN32Pixels(W, 1);
134 srcBM.eraseColor(gSrcRec[j].fSrc);
147 canvas.drawBitmap(srcBM, 0, 0, &paint);
203 SkBitmap srcBM; local
204 srcBM.allocN32Pixels(W, H);
206 0, 0, SkIntToScalar(srcBM.width()), SkIntToScalar(srcBM.height()) };
209 Mesh mesh(srcBM, &paint);
229 srcBM
[all...]

Completed in 99 milliseconds