Index: include/gpu/GrSurface.h |
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h |
index ba51f3b3c87940cdc370e1e307e89d21884360cd..7a7f55dd3bf6c9cc738a8b3f5da78bf0980ca054 100644 |
--- a/include/gpu/GrSurface.h |
+++ b/include/gpu/GrSurface.h |
@@ -105,6 +105,9 @@ public: |
* @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly |
* 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. |
*/ |
bool writePixels(int left, int top, int width, int height, |
GrPixelConfig config, |