diff options
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index 883b7ee98a..4defa040d7 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -280,9 +280,9 @@ public: size_t rowBytes); /** - * Updates the pixels in a rectangle of a surface using a buffer + * Updates the pixels in a rectangle of a texture using a buffer * - * @param surface The surface to write to. + * @param textre The texture to write to. * @param left left edge of the rectangle to write (inclusive) * @param top top edge of the rectangle to write (inclusive) * @param width width of rectangle to write in pixels. @@ -293,7 +293,7 @@ public: * @param rowBytes number of bytes between consecutive rows. Zero * means rows are tightly packed. */ - bool transferPixels(GrSurface* surface, + bool transferPixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, GrBuffer* transferBuffer, size_t offset, size_t rowBytes); @@ -579,8 +579,8 @@ private: GrPixelConfig config, const SkTArray<GrMipLevel>& texels) = 0; - // overridden by backend-specific derived class to perform the surface write - virtual bool onTransferPixels(GrSurface*, + // overridden by backend-specific derived class to perform the texture transfer + virtual bool onTransferPixels(GrTexture*, int left, int top, int width, int height, GrPixelConfig config, GrBuffer* transferBuffer, size_t offset, size_t rowBytes) = 0; |