aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-09-01 08:19:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-01 08:19:46 -0700
commitdac7005b877c7c1c6f36b6e298133dfc7b85b9c0 (patch)
treeaa34b906fe7b94cef46d1a121f04cc9728328ec5 /src/gpu/gl/GrGLGpu.cpp
parentaeb77eaff8549704bd27e0f47ad43267350ff067 (diff)
Remove GrGpuTraceMarker hooks until we rethink the design
TBR=bsalomon@google.com BUG=526308 Review URL: https://codereview.chromium.org/1323823003
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 44b75059da..602eeca56d 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -3076,28 +3076,6 @@ void GrGLGpu::xferBarrier(GrRenderTarget* rt, GrXferBarrierType type) {
}
}
-void GrGLGpu::didAddGpuTraceMarker() {
- if (this->caps()->gpuTracingSupport()) {
- const GrTraceMarkerSet& markerArray = this->getActiveTraceMarkers();
- SkString markerString = markerArray.toStringLast();
-#if GR_FORCE_GPU_TRACE_DEBUGGING
- SkDebugf("%s\n", markerString.c_str());
-#else
- GL_CALL(PushGroupMarker(0, markerString.c_str()));
-#endif
- }
-}
-
-void GrGLGpu::didRemoveGpuTraceMarker() {
- if (this->caps()->gpuTracingSupport()) {
-#if GR_FORCE_GPU_TRACE_DEBUGGING
- SkDebugf("Pop trace marker.\n");
-#else
- GL_CALL(PopGroupMarker());
-#endif
- }
-}
-
GrBackendObject GrGLGpu::createTestingOnlyBackendTexture(void* pixels, int w, int h,
GrPixelConfig config) const {
GrGLuint texID;