aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRectanizer.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-27 19:39:38 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-27 19:39:38 +0000
commit7d330eb19cd3c9278abce68ca0e3efabf2ec8f87 (patch)
tree7bf9cd9bfc7bea76a09f8fcd8bef5568c30a8928 /src/gpu/GrRectanizer.h
parent3e292aa398dc40f5188bc4f0b36c8916ac552308 (diff)
GrAtlas cleanup: Split out GrPlot and GrAtlas
This breaks up GrAtlas into the head of the list (GrAtlas) and the list elements (GrPlot). It also moves all of the GrPlot management code into GrAtlasMgr. It adds a simple pool allocator for GrPlots and removes use of GrPlotMgr. R=bsalomon@google.com, robertphillips@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/24981004 git-svn-id: http://skia.googlecode.com/svn/trunk@11508 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrRectanizer.h')
-rw-r--r--src/gpu/GrRectanizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrRectanizer.h b/src/gpu/GrRectanizer.h
index dc479f1c8d..c1ac2c129e 100644
--- a/src/gpu/GrRectanizer.h
+++ b/src/gpu/GrRectanizer.h
@@ -26,6 +26,8 @@ public:
virtual ~GrRectanizer() {}
+ virtual void reset() = 0;
+
int width() const { return fWidth; }
int height() const { return fHeight; }