Lines Matching refs:kColor1
73 static const GrColor kColor1 = 0xABCDEF01; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
74 static const GrColor kColor2 = ~kColor1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
80 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
81 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
91 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
112 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
113 rtContext->clear(&mid1Rect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 rtContext->clear(&mid1Rect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
125 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
134 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
141 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
143 !check_rect(rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
154 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
155 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
164 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
166 rtContext->clear(&mid2Rect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
167 if (!check_rect(rtContext.get(), mid2Rect, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
168 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
179 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
180 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
181 !check_rect(rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
182 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
190 rtContext->clear(&fullRect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 rtContext->clear(&mid2Rect, kColor1, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
197 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
198 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
199 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
200 !check_rect(rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
201 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()