Make GrGpu pixel ops functions take SkIRect instead of LTRB params.

Change-Id: Ic4a8a32a434485b84284decbcc5a8f898197169a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/408359
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrDeferredUpload.h b/src/gpu/GrDeferredUpload.h
index 946787b..8c4f668 100644
--- a/src/gpu/GrDeferredUpload.h
+++ b/src/gpu/GrDeferredUpload.h
@@ -115,9 +115,11 @@
  * Passed to a deferred upload when it is executed, this method allows the deferred upload to
  * actually write its pixel data into a texture.
  */
-using GrDeferredTextureUploadWritePixelsFn =
-        std::function<bool(GrTextureProxy*, int left, int top, int width, int height,
-                           GrColorType srcColorType, const void* buffer, size_t rowBytes)>;
+using GrDeferredTextureUploadWritePixelsFn = std::function<bool(GrTextureProxy*,
+                                                                SkIRect,
+                                                                GrColorType srcColorType,
+                                                                const void*,
+                                                                size_t rowBytes)>;
 
 /**
  * A deferred texture upload is simply a std::function that takes a