diff options
author | 2014-07-13 10:09:42 -0700 | |
---|---|---|
committer | 2014-07-13 10:09:42 -0700 | |
commit | c4f30b1074e1068d6fc0f368428f410ed6d4b2b5 (patch) | |
tree | b2c6833c5b2317ea81236c15ab730b8609b60043 /src/gpu/GrAtlas.h | |
parent | cfaeec446d06058cacef068b09f58ae2c78338fa (diff) |
Make GrAtlas::removePlot static
This CL just calves off a small chunk of (Add atlased layer purging - https://codereview.chromium.org/367073002/).
R=jvanverth@google.com
TBR=jvanverth@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/388103002
Diffstat (limited to 'src/gpu/GrAtlas.h')
-rw-r--r-- | src/gpu/GrAtlas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrAtlas.h b/src/gpu/GrAtlas.h index d63c8b920c..f99040863b 100644 --- a/src/gpu/GrAtlas.h +++ b/src/gpu/GrAtlas.h @@ -94,7 +94,7 @@ public: GrPlot* addToAtlas(ClientPlotUsage*, int width, int height, const void* image, SkIPoint16* loc); // remove reference to this plot - void removePlot(ClientPlotUsage* usage, const GrPlot* plot); + static void RemovePlot(ClientPlotUsage* usage, const GrPlot* plot); // get a plot that's not being used by the current draw // this allows us to overwrite this plot without flushing |