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

Unified Diff: src/gpu/GrGpu.h

Issue 174123003: Add hooks for GL_EXT_debug_marker in gpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Upload failed. Trying again Created 6 years, 10 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
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 00791be054a1e55ceb7c1c36c15c2a465677c7b9..1654520cb25b2c979ec7f5b17a2d9822ca75ba43 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -458,6 +458,11 @@ private:
// overridden by backend-specific derived class to perform the resolve
virtual void onResolveRenderTarget(GrRenderTarget* target) = 0;
+ // GrDrawTarget Overrides
+ virtual void onInstantGpuTraceEvent(const char* marker) SK_OVERRIDE = 0;
bsalomon 2014/02/21 17:03:07 I don't think we need to redeclare these as pure v
+ virtual void onPushGpuTraceEvent(const char* marker) SK_OVERRIDE = 0;
+ virtual void onPopGpuTraceEvent() SK_OVERRIDE = 0;
+
// width and height may be larger than rt (if underlying API allows it).
// Should attach the SB to the RT. Returns false if compatible sb could
// not be created.

Powered by Google App Engine
This is Rietveld 408576698