Home | History | Annotate | Download | only in tests

Lines Matching refs:kWidth

141     static const int kWidth = 13;
144 GrColor pixels[kWidth * kHeight];
146 for (int x = 0; x < kWidth; ++x) {
147 pixels[y * kWidth + x] = y * kWidth + x;
152 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
171 rectangleDesc.fWidth = kWidth;
176 GrColor refPixels[kWidth * kHeight];
179 for (int x = 0; x < kWidth; ++x) {
181 refPixels[y * kWidth + x] = pixels[y0 * kWidth + x];