Lines Matching refs:height
216 bool sw_convert_to_premul(GrPixelConfig srcConfig, int width, int height, size_t inRowBytes,
232 return srcPI.convertPixelsTo(&dstPI, width, height);
236 int left, int top, int width, int height,
249 if (!GrSurfacePriv::AdjustWritePixelParams(surface->width(), surface->height(),
251 &height, &buffer, &rowBytes)) {
271 if (!fGpu->getWritePixelsInfo(surface, width, height, srcConfig, &drawPreference,
294 textureMatrix.setIDiv(tempTexture->width(), tempTexture->height());
322 tmpPixels.reset(width * height);
323 if (!sw_convert_to_premul(srcConfig, width, height, rowBytes, buffer, tmpRowBytes,
331 if (!fGpu->writePixels(tempTexture, 0, 0, width, height,
345 SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height));
356 tmpPixels.reset(width * height);
357 if (!sw_convert_to_premul(srcConfig, width, height, rowBytes, buffer, tmpRowBytes,
365 return fGpu->writePixels(surface, left, top, width, height, srcConfig, buffer, rowBytes);
371 int left, int top, int width, int height,
385 if (!GrSurfacePriv::AdjustReadPixelParams(src->width(), src->height(),
387 &top, &width, &height, &buffer, &rowBytes)) {
409 if (!fGpu->getReadPixelsInfo(src, width, height, rowBytes, dstConfig, &drawPreference,
420 if (width != src->width() || height != src->height()) {
434 textureMatrix.postIDiv(src->width(), src->height());
455 SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height));
474 if (!fGpu->readPixels(surfaceToRead, left, top, width, height, configToRead, buffer,
495 return srcPI.convertPixelsTo(&dstPI, width, height);