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

Unified Diff: include/gpu/GrContext.h

Issue 438023004: Enable gpu Debug markers if tracing category skia.gpu is enabled (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Uniquify var names Created 6 years, 4 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 | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 103d76e8a20c3a2608deb9c10db50f3d58e0f916..88f6a4f51c7a196bf9ab70cec79a6d211f0d1376 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -928,11 +928,6 @@ public:
// Called by tests that draw directly to the context via GrDrawTarget
void getTestTarget(GrTestTarget*);
- // Functions for managing gpu trace markers
- bool isGpuTracingEnabled() const { return fGpuTracingEnabled; }
- void enableGpuTracing() { fGpuTracingEnabled = true; }
- void disableGpuTracing() { fGpuTracingEnabled = false; }
-
void addGpuTraceMarker(const GrGpuTraceMarker* marker);
void removeGpuTraceMarker(const GrGpuTraceMarker* marker);
@@ -999,8 +994,6 @@ private:
int fMaxTextureSizeOverride;
- bool fGpuTracingEnabled;
-
GrContext(); // init must be called after the constructor.
bool init(GrBackend, GrBackendContext);
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698