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

Unified Diff: src/gpu/GrGpu.cpp

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.cpp
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index 3a342b6137bcb47e7dd88c81e3d25d3b8f44db21..53dd5c4157e527e8215591eed91c25acd5e8950c 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -219,6 +219,16 @@ void GrGpu::clear(const SkIRect* rect,
this->onClear(rect, color, canIgnoreRect);
}
+void GrGpu::insertEventMarker(const char* marker) {
+ this->onInsertEventMarker(marker);
+}
+void GrGpu::pushGroupMarker(const char* marker) {
+ this->onPushGroupMarker(marker);
+}
+void GrGpu::popGroupMarker() {
+ this->onPopGroupMarker();
+}
+
void GrGpu::forceRenderTargetFlush() {
this->handleDirtyContext();
this->onForceRenderTargetFlush();

Powered by Google App Engine
This is Rietveld 408576698