Home
last modified time | relevance | path

Searched refs:CHILD_W (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/tests/
H A DSurfaceSemaphoreTest.cpp38 static const int CHILD_W = 16, CHILD_H = 16; variable
46 for (int cx = 0; cx < CHILD_W && !failureFound; ++cx) { in check_pixels()
47 SkPMColor canvasPixel = canvasPixels[cy * CHILD_W + cx]; in check_pixels()
49 if (cx < CHILD_W / 2) { in check_pixels()
73 const SkImageInfo childII = SkImageInfo::Make(CHILD_W, CHILD_H, kRGBA_8888_SkColorType, in draw_child()
95 childCanvas->drawImage(childImage, CHILD_W/2, 0); in draw_child()
99 SkIRect rect = SkIRect::MakeLTRB(0, CHILD_H/2, CHILD_W, CHILD_H); in draw_child()

Completed in 2 milliseconds