Searched refs:check_rect (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | ClearTest.cpp | 31 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect() function 101 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 112 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 123 if (!check_rect(rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 134 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 145 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 156 if (!check_rect(rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 160 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test() 161 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test() 162 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test() [all …]
|
/external/skqp/tests/ |
D | ClearTest.cpp | 31 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect() function 102 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 113 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 124 if (!check_rect(rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 135 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 146 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 157 if (!check_rect(rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 161 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test() 162 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test() 163 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test() [all …]
|