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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 1062863002: Avoid regenerating cached textblobs on integer scrolls (Closed) Base URL: https://skia.googlesource.com/skia.git@atlastextcache
Patch Set: some sleight bug fixes Created 5 years, 8 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
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 072b72702a39b7bd2b3a64e190744b9ef185a433..8a12a31ea9f1d884ac593a5b642d4ba3370d5508 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -11,7 +11,6 @@
#include "GrClip.h"
#include "GrClipMaskManager.h"
#include "GrContext.h"
-#include "GrMemoryPool.h"
#include "GrPathProcessor.h"
#include "GrPrimitiveProcessor.h"
#include "GrIndexBuffer.h"
@@ -574,9 +573,6 @@ public:
virtual void setDrawBuffers(DrawInfo*, size_t vertexStride) = 0;;
bool programUnitTest(int maxStages);
- // TODO I should make the bitmapTextBlob cache a thing, which lives on draw target
- GrMemoryPool* pool() { return &fPool; }
-
protected:
friend class GrTargetCommands; // for PipelineInfo
@@ -811,7 +807,6 @@ private:
int fGpuTraceMarkerCount;
GrTraceMarkerSet fActiveTraceMarkers;
GrTraceMarkerSet fStoredTraceMarkers;
- GrMemoryPool fPool;
typedef SkRefCnt INHERITED;
};

Powered by Google App Engine
This is Rietveld 408576698