aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpuCommandBuffer.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-08-08 08:36:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-08 13:23:20 +0000
commit65a88fadab72abd104fdf4cc4a97488b2e901c60 (patch)
treef18907298553a9a72faa01361950a9c633398895 /src/gpu/GrGpuCommandBuffer.h
parentbdc3afa577718c657da6eaffba6ae90ec1c26ca2 (diff)
Add GrDebugMarkerOp
Change-Id: I948838dea13d2f36194ca1043ab37e72759794e0 Reviewed-on: https://skia-review.googlesource.com/31740 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrGpuCommandBuffer.h')
-rw-r--r--src/gpu/GrGpuCommandBuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrGpuCommandBuffer.h b/src/gpu/GrGpuCommandBuffer.h
index 3fb12bfc07..a50901ac58 100644
--- a/src/gpu/GrGpuCommandBuffer.h
+++ b/src/gpu/GrGpuCommandBuffer.h
@@ -92,6 +92,8 @@ public:
// TODO: This should be removed in the future to favor using the load and store ops for discard
virtual void discard(GrRenderTargetProxy*) = 0;
+ virtual void insertEventMarker(GrRenderTargetProxy*, const char*) = 0;
+
private:
virtual GrGpu* gpu() = 0;
virtual GrRenderTarget* renderTarget() = 0;