Home | History | Annotate | Download | only in tests

Lines Matching refs:store

33     SkBitmap store;
35 create(&store, SkBitmap::kARGB_8888_Config, 0xFFFFFFFF);
36 SkDevice device(store);
41 SkAutoLockPixels alp(store);
42 REPORTER_ASSERT(reporter, store.getColor(0,0) == 0xFFFFFFFF); //verify that clear was deferred
44 REPORTER_ASSERT(reporter, store.getColor(0,0) == 0x00000000); //verify that clear was executed
45 REPORTER_ASSERT(reporter, accessed.pixelRef() == store.pixelRef());
259 SkBitmap store;
261 create(&store, SkBitmap::kARGB_8888_Config, 0xFFFFFFFF);
262 SkDevice device(store);
267 SkAutoLockPixels alp(store);
268 REPORTER_ASSERT(reporter, store.getColor(0,0) == 0xFFFFFFFF); //verify that clear was deferred
270 REPORTER_ASSERT(reporter, store.getColor(0,0) == 0x00000000); //verify that clear was executed
274 SkBitmap store;
281 create(&store, SkBitmap::kARGB_8888_Config, 0xFFFFFFFF);
282 SkDevice device(store);
452 SkBitmap store;
453 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
454 store.allocPixels();
455 MockDevice mockDevice(store);
502 SkBitmap store;
503 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
504 store.allocPixels();
505 SkDevice device(store);
585 SkBitmap store;
586 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
587 store.allocPixels();
588 SkDevice device(store);
606 SkBitmap store;
607 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
608 store.allocPixels();
609 SkDevice device(store);
644 SkBitmap store;
645 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
646 store.allocPixels();
653 // 1 under : should not store the image
655 SkDevice device(store);
663 // exact value : should store the image
665 SkDevice device(store);
673 // 1 over : should still store the image
675 SkDevice device(store);
736 // Verify that backing store is now a different buffer because of copy on
807 SkBitmap store;
808 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
809 store.allocPixels();
810 SkDevice device(store);