• Home
  • Raw
  • Download

Lines Matching refs:special

53     sk_sp<SkSpecialImage> special = DeviceTestingAccess::MakeSpecial(bmDev.get(), bm);
54 SkASSERT(!special->isTextureBacked());
55 SkASSERT(kWidth == special->width());
56 SkASSERT(kHeight == special->height());
57 SkASSERT(bm.getGenerationID() == special->uniqueID());
58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
62 special = DeviceTestingAccess::MakeSpecial(bmDev.get(), image.get());
63 SkASSERT(!special->isTextureBacked());
64 SkASSERT(kWidth == special->width());
65 SkASSERT(kHeight == special->height());
66 SkASSERT(bm.getGenerationID() == special->uniqueID());
67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
70 special = DeviceTestingAccess::SnapSpecial(bmDev.get());
71 SkASSERT(!special->isTextureBacked());
72 SkASSERT(2*kWidth == special->width());
73 SkASSERT(2*kHeight == special->height());
74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
96 sk_sp<SkSpecialImage> special = DeviceTestingAccess::MakeSpecial(gpuDev.get(), bm); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
97 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
98 SkASSERT(kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
99 SkASSERT(kHeight == special->height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 SkASSERT(bm.getGenerationID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 special = DeviceTestingAccess::MakeSpecial(gpuDev.get(), image.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
106 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 SkASSERT(kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
108 SkASSERT(kHeight == special->height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 SkASSERT(image->uniqueID() != special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
116 special = DeviceTestingAccess::MakeSpecial(gpuDev.get(), image.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
117 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 SkASSERT(kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
119 SkASSERT(kHeight == special->height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 SkASSERT(image->uniqueID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 special = DeviceTestingAccess::SnapSpecial(gpuDev.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
125 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 SkASSERT(2*kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 SkASSERT(2*kHeight == special->height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()