Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: src/gpu/GrContext.cpp

Issue 1950523002: Remove GrLayerHoister (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Forgot to remove some files Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkRecordedDrawable.cpp ('k') | src/gpu/GrLayerAtlas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 970f75c7b8fcfd647aba9a13508137cc06e3ba7b..4154854a935c5cc5dcdb6d5b82283c648d33d046 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -9,7 +9,6 @@
#include "GrContextOptions.h"
#include "GrDrawingManager.h"
#include "GrDrawContext.h"
-#include "GrLayerCache.h"
#include "GrResourceCache.h"
#include "GrResourceProvider.h"
#include "GrSoftwarePathRenderer.h"
@@ -88,8 +87,6 @@ void GrContext::initCommon(const GrContextOptions& options) {
fResourceCache->setOverBudgetCallback(OverBudgetCB, this);
fResourceProvider = new GrResourceProvider(fGpu, fResourceCache, &fSingleOwner);
- fLayerCache.reset(new GrLayerCache(this));
-
fDidTestPMConversions = false;
GrDrawTarget::Options dtOptions;
@@ -152,7 +149,6 @@ void GrContext::abandonContext() {
fGpu->disconnect(GrGpu::DisconnectType::kAbandon);
fBatchFontCache->freeAll();
- fLayerCache->freeAll();
fTextBlobCache->freeAll();
}
@@ -171,7 +167,6 @@ void GrContext::releaseResourcesAndAbandonContext() {
fGpu->disconnect(GrGpu::DisconnectType::kCleanup);
fBatchFontCache->freeAll();
- fLayerCache->freeAll();
fTextBlobCache->freeAll();
}
@@ -186,7 +181,6 @@ void GrContext::freeGpuResources() {
this->flush();
fBatchFontCache->freeAll();
- fLayerCache->freeAll();
fDrawingManager->freeGpuResources();
« no previous file with comments | « src/core/SkRecordedDrawable.cpp ('k') | src/gpu/GrLayerAtlas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698