Index: src/gpu/GrRectanizer.h |
diff --git a/src/gpu/GrRectanizer.h b/src/gpu/GrRectanizer.h |
index 2c290e9153ab20fd4cbc2b4d404e3012956dd205..0f9d8fdfb62ddd6bee739bee0a940792e6f43843 100644 |
--- a/src/gpu/GrRectanizer.h |
+++ b/src/gpu/GrRectanizer.h |
@@ -24,6 +24,8 @@ public: |
int width() const { return fWidth; } |
int height() const { return fHeight; } |
+ // Attempt to add a rect. Return true on success; false on failure. If |
+ // successful the position in the atlas is returned in 'loc'. |
virtual bool addRect(int width, int height, GrIPoint16* loc) = 0; |
virtual float percentFull() const = 0; |