Home
last modified time | relevance | path

Searched refs:testBitmap (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DSurfaceTest.cpp84 SkBitmap testBitmap; in TestSurfaceCopyOnWrite() local
85 testBitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in TestSurfaceCopyOnWrite()
86 testBitmap.allocPixels(); in TestSurfaceCopyOnWrite()
87 testBitmap.eraseColor(0); in TestSurfaceCopyOnWrite()
125 EXPECT_COPY_ON_WRITE(drawBitmap(testBitmap, 0, 0)) in TestSurfaceCopyOnWrite()
126 EXPECT_COPY_ON_WRITE(drawBitmapRect(testBitmap, NULL, testRect)) in TestSurfaceCopyOnWrite()
127 EXPECT_COPY_ON_WRITE(drawBitmapMatrix(testBitmap, testMatrix, NULL)) in TestSurfaceCopyOnWrite()
128 EXPECT_COPY_ON_WRITE(drawBitmapNine(testBitmap, testIRect, testRect, NULL)) in TestSurfaceCopyOnWrite()
129 EXPECT_COPY_ON_WRITE(drawSprite(testBitmap, 0, 0, NULL)) in TestSurfaceCopyOnWrite()
DBlurTest.cpp138 SkBitmap testBitmap; in test_blur_drawing() local
139 create(&testBitmap, itest, SkBitmap::kARGB_8888_Config); in test_blur_drawing()
141 SkCanvas testCanvas(testBitmap); in test_blur_drawing()
148 compare(refBitmap, iref, testBitmap, itest)); in test_blur_drawing()
DCanvasTest.cpp215 static SkBitmap testBitmap() { in testBitmap() function
908 kTestBitmap = testBitmap(); in DEF_TEST()
/external/skia/tools/skpdiff/
DSkDiffContext.cpp71 SkBitmap testBitmap; in addDiff() local
76 if (!SkImageDecoder::DecodeFile(testPath, &testBitmap)) { in addDiff()
109 if (!differ->diff(&baselineBitmap, &testBitmap, alphaMaskPending, &diffData.fResult)) { in addDiff()