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

/external/skia/tests/
H A DSurfaceSemaphoreTest.cpp45 SkPMColor canvasPixel = canvasPixels[cy * CHILD_W + cx]; local
55 if (expectedPixel != canvasPixel) {
58 cx, cy, canvasPixel, expectedPixel);
H A DWritePixelsTest.cpp209 SkPMColor canvasPixel = canvasPixels[cx]; local
218 if (!check_pixel(bmpPMColor, canvasPixel, mul)) {
220 "Write performed premul: %d", cx, cy, bmpPMColor, canvasPixel, mul);
225 if (canvasPixel != testColor) {
227 " Should be 0x%08x, got 0x%08x. ", cx, cy, testColor, canvasPixel);
H A DReadPixelsTest.cpp223 SkPMColor canvasPixel = get_src_color(devx, devy); local
226 if (!check_read_pixel(pmPixel, canvasPixel, didPremul)) {
228 "Readback was unpremul: %d", bx, by, canvasPixel, pmPixel, didPremul);
/external/skqp/tests/
H A DSurfaceSemaphoreTest.cpp45 SkPMColor canvasPixel = canvasPixels[cy * CHILD_W + cx]; local
55 if (expectedPixel != canvasPixel) {
58 cx, cy, canvasPixel, expectedPixel);
H A DWritePixelsTest.cpp219 SkPMColor canvasPixel = canvasPixels[cx]; local
228 if (!check_pixel(bmpPMColor, canvasPixel, mul)) {
230 "Write performed premul: %d", cx, cy, bmpPMColor, canvasPixel, mul);
235 if (canvasPixel != testColor) {
237 " Should be 0x%08x, got 0x%08x. ", cx, cy, testColor, canvasPixel);
H A DReadPixelsTest.cpp223 SkPMColor canvasPixel = get_src_color(devx, devy); local
226 if (!check_read_pixel(pmPixel, canvasPixel, didPremul)) {
228 "Readback was unpremul: %d", bx, by, canvasPixel, pmPixel, didPremul);

Completed in 252 milliseconds