Home
last modified time | relevance | path

Searched refs:eraseColor (Results 1 – 25 of 212) sorted by relevance

123456789

/external/skqp/gm/
Dbmpfilterqualityrepeat.cpp27 colorBmp.eraseColor(0xFFFF0000); in onOnceBeforeDraw()
29 colorBmp.eraseColor(sk_tool_utils::color_to_565(0xFF008200)); in onOnceBeforeDraw()
31 colorBmp.eraseColor(sk_tool_utils::color_to_565(0xFFFF9000)); in onOnceBeforeDraw()
33 colorBmp.eraseColor(sk_tool_utils::color_to_565(0xFF2000FF)); in onOnceBeforeDraw()
Dbitmapshader.cpp24 bm->eraseColor(SK_ColorRED); in draw_bm()
35 bm->eraseColor(SK_ColorTRANSPARENT); in draw_mask()
/external/skia/gm/
Dbmpfilterqualityrepeat.cpp39 colorBmp.eraseColor(0xFFFF0000); in onOnceBeforeDraw()
41 colorBmp.eraseColor(ToolUtils::color_to_565(0xFF008200)); in onOnceBeforeDraw()
43 colorBmp.eraseColor(ToolUtils::color_to_565(0xFFFF9000)); in onOnceBeforeDraw()
45 colorBmp.eraseColor(ToolUtils::color_to_565(0xFF2000FF)); in onOnceBeforeDraw()
Dskbug_9819.cpp23 rgba.eraseColor(yellow);
24 bgra.eraseColor(yellow);
Dbitmapshader.cpp33 bm.eraseColor(SK_ColorRED); in draw_bm()
44 bm.eraseColor(SK_ColorTRANSPARENT); in draw_mask()
/external/skia/docs/examples/
DBitmap_ComputeIsOpaque.cpp11 bitmap.eraseColor(0x00000000); in draw()
13 bitmap.eraseColor(0xFFFFFFFF); in draw()
DBitmap_isOpaque.cpp13 bitmap.eraseColor(0x00000000); in draw()
15 bitmap.eraseColor(0xFFFFFFFF); in draw()
DImageInfo_isOpaque.cpp14 bitmap.eraseColor(0x00000000); in draw()
16 bitmap.eraseColor(0xFFFFFFFF); in draw()
/external/skqp/tests/
DMipMapTest.cpp15 bm->eraseColor(SK_ColorWHITE); in make_bitmap()
62 bm.eraseColor(SK_ColorWHITE); in test_mipmap_generation()
92 bm.eraseColor(SK_ColorWHITE); in DEF_TEST()
209 bmp.eraseColor(0); in DEF_TEST()
DBitmapTest.cpp139 source.eraseColor(SK_ColorRED); in DEF_TEST()
158 bm.eraseColor(input); in test_erasecolor_premul()
194 bm.eraseColor(SkColorSetARGB(255, 10, 20, 30)); in DEF_TEST()
197 bm.eraseColor(SkColorSetARGB(128, 255, 255, 255)); in DEF_TEST()
254 bm.eraseColor(0x00000000); in DEF_TEST()
261 bm.eraseColor(0xaabbccdd); in DEF_TEST()
DAnimatedImageTest.cpp63 bm.eraseColor(SK_ColorBLUE); in DEF_TEST()
152 bm.eraseColor(SK_ColorTRANSPARENT); in DEF_TEST()
172 test.eraseColor(SK_ColorTRANSPARENT); in DEF_TEST()
218 bm.eraseColor(0); in DEF_TEST()
252 test.eraseColor(0); in DEF_TEST()
DQuickRejectTest.cpp59 src.eraseColor(SK_ColorWHITE); in test_drawBitmap()
63 dst.eraseColor(SK_ColorTRANSPARENT); in test_drawBitmap()
76 dst.eraseColor(SK_ColorTRANSPARENT); in test_drawBitmap()
DDrawBitmapRectTest.cpp112 dev.eraseColor(SK_ColorTRANSPARENT); // necessary, so we know if we draw to it in test_wacky_bitmapshader()
128 bm.eraseColor(SK_ColorRED); in test_wacky_bitmapshader()
236 bm->eraseColor(color); in create()
DPremulAlphaRoundTripTest.cpp73 readBmp1.eraseColor(0); in test_premul_alpha_roundtrip()
74 readBmp2.eraseColor(0); in test_premul_alpha_roundtrip()
/external/skia/tests/
DBitmapTest.cpp176 source.eraseColor(SK_ColorRED); in DEF_TEST()
195 bm.eraseColor(input); in test_erasecolor_premul()
220 bm.eraseColor(SkColorSetARGB(255, 10, 20, 30)); in DEF_TEST()
223 bm.eraseColor(SkColorSetARGB(128, 255, 255, 255)); in DEF_TEST()
261 bm.eraseColor(SK_ColorRED); in DEF_TEST()
294 bm.eraseColor(0x00000000); in DEF_TEST()
301 bm.eraseColor(0xaabbccdd); in DEF_TEST()
DQuickRejectTest.cpp19 src.eraseColor(SK_ColorWHITE); in test_drawBitmap()
23 dst.eraseColor(SK_ColorTRANSPARENT); in test_drawBitmap()
35 dst.eraseColor(SK_ColorTRANSPARENT); in test_drawBitmap()
DNdkEncodeTest.cpp51 bm.eraseColor(SK_ColorBLUE); in DEF_TEST()
102 bm.eraseColor(SK_ColorBLUE); in DEF_TEST()
123 bm.eraseColor(SK_ColorBLUE); in DEF_TEST()
193 bm.eraseColor(SK_ColorGREEN); in DEF_TEST()
284 bm.eraseColor(SK_ColorRED); in DEF_TEST()
348 bm.eraseColor(SK_ColorBLUE); in DEF_TEST()
DMipMapTest.cpp16 bm->eraseColor(SK_ColorWHITE); in make_bitmap()
63 bm.eraseColor(SK_ColorWHITE); in test_mipmap_generation()
93 bm.eraseColor(SK_ColorWHITE); in DEF_TEST()
210 bmp.eraseColor(0); in DEF_TEST()
DAnimatedImageTest.cpp178 bm.eraseColor(SK_ColorBLUE); in DEF_TEST()
256 bm.eraseColor(SK_ColorTRANSPARENT); in DEF_TEST()
276 test.eraseColor(SK_ColorTRANSPARENT); in DEF_TEST()
322 bm.eraseColor(0); in DEF_TEST()
356 test.eraseColor(0); in DEF_TEST()
DPremulAlphaRoundTripTest.cpp72 readBmp1.eraseColor(0); in test_premul_alpha_roundtrip()
73 readBmp2.eraseColor(0); in test_premul_alpha_roundtrip()
DDrawBitmapRectTest.cpp116 dev.eraseColor(SK_ColorTRANSPARENT); // necessary, so we know if we draw to it in test_wacky_bitmapshader()
132 bm.eraseColor(SK_ColorRED); in test_wacky_bitmapshader()
240 bm->eraseColor(color); in create()
/external/skqp/bench/
DBitmapBench.cpp70 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onDelayedSetup()
252 bm.eraseColor(SK_ColorBLACK); in onDrawIntoBitmap()
254 bm.eraseColor(0); in onDrawIntoBitmap()
256 bm.eraseColor(0); in onDrawIntoBitmap()
273 bm.eraseColor(0); in onDrawIntoBitmap()
DReadPixBench.cpp79 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
119 fBM.eraseColor(0x88112233); in onDelayedSetup()
/external/skia/tools/skqp/
Dmake_skqp_model.cpp14 maxBitmap->eraseColor(0x00000000); in update()
16 minBitmap->eraseColor(0xFFFFFFFF); in update()
/external/skia/bench/
DReadPixBench.cpp76 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
116 fBM.eraseColor(0x88112233); in onDelayedSetup()

123456789