Lines Matching refs:left
27 void fill_transfer_data(int left, int top, int width, int height, int rowBytes,
35 for (int i = left; i < left + width; ++i) {
36 auto r = (unsigned int)(256.f*((i - left) / (float)width));
228 // with a left sub-rect inset of 2 but may adjust that so we can fulfill the transfer buffer
230 int left = 2;
234 size_t offset = top * srcRowBytes + left * GrColorTypeBytesPerPixel(allowedSrc.fColorType);
237 ++left;
241 if (left + width > tex->width()) {
242 left = 0;
246 SkASSERT(left + width <= tex->width());
251 fill_transfer_data(left, top, width, height, srcRowBytes, allowedSrc.fColorType,
258 SkIRect::MakeXYWH(left, top, width, height),