| Index: include/gpu/GrSurface.h
|
| diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
|
| index 0bbf8d9c12a0ee4eac5fcc7de6c57b2057a02e7d..ba51f3b3c87940cdc370e1e307e89d21884360cd 100644
|
| --- a/include/gpu/GrSurface.h
|
| +++ b/include/gpu/GrSurface.h
|
| @@ -87,11 +87,11 @@ public:
|
| * @return true if the read succeeded, false if not. The read can fail because of an unsupported
|
| * pixel config.
|
| */
|
| - virtual bool readPixels(int left, int top, int width, int height,
|
| - GrPixelConfig config,
|
| - void* buffer,
|
| - size_t rowBytes = 0,
|
| - uint32_t pixelOpsFlags = 0) = 0;
|
| + bool readPixels(int left, int top, int width, int height,
|
| + GrPixelConfig config,
|
| + void* buffer,
|
| + size_t rowBytes = 0,
|
| + uint32_t pixelOpsFlags = 0);
|
|
|
| /**
|
| * Copy the src pixels [buffer, rowbytes, pixelconfig] into the surface at the specified
|
| @@ -106,11 +106,11 @@ public:
|
| * packed.
|
| * @param pixelOpsFlags See the GrContext::PixelOpsFlags enum.
|
| */
|
| - virtual void writePixels(int left, int top, int width, int height,
|
| - GrPixelConfig config,
|
| - const void* buffer,
|
| - size_t rowBytes = 0,
|
| - uint32_t pixelOpsFlags = 0) = 0;
|
| + bool writePixels(int left, int top, int width, int height,
|
| + GrPixelConfig config,
|
| + const void* buffer,
|
| + size_t rowBytes = 0,
|
| + uint32_t pixelOpsFlags = 0);
|
|
|
| /**
|
| * After this returns any pending writes to the surface will be issued to the backend 3D API.
|
|
|