Lines Matching refs:top
27 void fill_transfer_data(int left, int top, int width, int height, int rowBytes,
34 for (int j = top; j < top + height; ++j) {
37 auto g = (unsigned int)(256.f*((j - top) / (float)height));
231 int top = 10;
234 size_t offset = top * srcRowBytes + left * GrColorTypeBytesPerPixel(allowedSrc.fColorType);
240 // Direct3D's large alignment requirement we may adjust the top location as well.
243 ++top;
244 offset = top * srcRowBytes;
247 SkASSERT(top + height <= tex->height());
251 fill_transfer_data(left, top, width, height, srcRowBytes, allowedSrc.fColorType,
258 SkIRect::MakeXYWH(left, top, width, height),