Lines Matching refs:kWidth
123 static const int kWidth = 16;
126 uint32_t pixels[kWidth * kHeight];
128 for (int x = 0; x < kWidth; ++x) {
129 pixels[y * kWidth + x] = y * kWidth + x;
132 auto ii = SkImageInfo::Make(kWidth, kHeight, kRGBA_8888_SkColorType, kPremul_SkAlphaType);
133 SkPixmap pm(ii, pixels, sizeof(uint32_t)*kWidth);
138 GrBackendTexture rectangleTex = dContext->createBackendTexture(kWidth,
151 GrColor refPixels[kWidth * kHeight];
153 for (int x = 0; x < kWidth; ++x) {
154 refPixels[y * kWidth + x] = pixels[y * kWidth + x];