Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/examples/
H A Dvwebp.c300 const int square_size = 8; // must be a power of 2 in DrawCheckerBoard() local
309 for (y = 0; y < viewport[3]; y += square_size) { in DrawCheckerBoard()
310 for (x = 0; x < viewport[2]; x += square_size) { in DrawCheckerBoard()
311 const GLubyte color = 128 + 64 * (!((x + y) & square_size)); in DrawCheckerBoard()
313 glRecti(x, y, x + square_size, y + square_size); in DrawCheckerBoard()

Completed in 1 milliseconds