aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-08-04 12:54:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-04 12:54:39 -0700
commit6d7f5faeb3f1745bd1fb90c8a2a0655a9e416e4a (patch)
treecf136a73adabcfef6fcb860b7e9f3e2e19bbfc22 /include/gpu/GrContext.h
parentad82ed67dfa5514a17dcca0412c81756b3b03095 (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.h7
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);