diff options
author | 2014-08-04 12:54:39 -0700 | |
---|---|---|
committer | 2014-08-04 12:54:39 -0700 | |
commit | 6d7f5faeb3f1745bd1fb90c8a2a0655a9e416e4a (patch) | |
tree | cf136a73adabcfef6fcb860b7e9f3e2e19bbfc22 /include/gpu/GrContext.h | |
parent | ad82ed67dfa5514a17dcca0412c81756b3b03095 (diff) |
Enable gpu Debug markers if tracing category skia.gpu is enabled
BUG=skia:
R=bsalomon@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/438023004
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 362d11146a..39f5be728f 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -921,11 +921,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); @@ -992,8 +987,6 @@ private: int fMaxTextureSizeOverride; - bool fGpuTracingEnabled; - GrContext(); // init must be called after the constructor. bool init(GrBackend, GrBackendContext); |