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

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: 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..418e84ecdf6941cf09715aa5bb8756a38b368bac 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 onInsertEventMarker(const char* marker) SK_OVERRIDE = 0;
+ virtual void onPushGroupMarker(const char* marker) SK_OVERRIDE = 0;
+ virtual void onPopGroupMarker() 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