diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-30 21:26:44 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-30 21:26:44 +0000 |
commit | 8fe72477f204b1a45393e6a64caa84fd287b805b (patch) | |
tree | ee45cdc16a5e66a5a198920897d82db4284b97da /gpu/src/GrAtlas.cpp | |
parent | a7d948523dce6044fc02db90726e5f971a93628b (diff) |
Add GrResource base class for ibs, texs, vbs, etc.
Add lostContext() to GrContext.
Review URL: http://codereview.appspot.com/4328044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1026 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrAtlas.cpp')
-rw-r--r-- | gpu/src/GrAtlas.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gpu/src/GrAtlas.cpp b/gpu/src/GrAtlas.cpp index ab99d9a280..a37df9c89a 100644 --- a/gpu/src/GrAtlas.cpp +++ b/gpu/src/GrAtlas.cpp @@ -203,16 +203,4 @@ void GrAtlasMgr::freePlot(int x, int y) { fPlotMgr->freePlot(x, y); } -void GrAtlasMgr::abandonAll() { -#if 0 - GrAtlas** curr = fList.begin(); - GrAtlas** stop = fList.end(); - for (; curr < stop; curr++) { - (*curr)->texture()->abandon(); - delete *curr; - } - fList.reset(); -#endif -} - |