Index: include/gpu/GrSurface.h |
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h |
index 28935009ce8caee78187405c3b50616d7d2e9aed..7c7a8b46ababbad7987512c2bff526583d7a1eac 100644 |
--- a/include/gpu/GrSurface.h |
+++ b/include/gpu/GrSurface.h |
@@ -12,7 +12,9 @@ |
#include "GrTypes.h" |
#include "GrGpuResource.h" |
#include "SkImageInfo.h" |
+#include "SkMipMapLevel.h" |
#include "SkRect.h" |
+#include "SkTArray.h" |
class GrRenderTarget; |
class GrSurfacePriv; |
@@ -100,14 +102,11 @@ public: |
* packed. |
* @param pixelOpsFlags See the GrContext::PixelOpsFlags enum. |
* |
- * @return true if the read succeeded, false if not. The read can fail because of an unsupported |
- * pixel config. |
+ * @return true if the read succeeded, false if not. The read can fail because of an |
+ * unsupported pixel config. |
*/ |
- bool writePixels(int left, int top, int width, int height, |
- GrPixelConfig config, |
- const void* buffer, |
- size_t rowBytes = 0, |
- uint32_t pixelOpsFlags = 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. |