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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 10828328: Expose EXT_debug_marker to webkit (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index 89a0a52a81bb09a670378802c5da76bc19a0c70d..17301cfb74e3c0c586f49362e1e8120b7e43506e 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -1533,6 +1533,18 @@ DELEGATE_TO_GL_2(produceTextureCHROMIUM, ProduceTextureCHROMIUM,
DELEGATE_TO_GL_2(consumeTextureCHROMIUM, ConsumeTextureCHROMIUM,
WGC3Denum, const WGC3Dbyte*)
+void WebGraphicsContext3DCommandBufferImpl::insertEventMarkerEXT(
+ const WGC3Dchar* marker) {
+ gl_->InsertEventMarkerEXT(0, marker);
+}
+
+void WebGraphicsContext3DCommandBufferImpl::pushGroupMarkerEXT(
+ const WGC3Dchar* marker) {
+ gl_->PushGroupMarkerEXT(0, marker);
+}
+
+DELEGATE_TO_GL(popGroupMarkerEXT, PopGroupMarkerEXT);
+
GrGLInterface* WebGraphicsContext3DCommandBufferImpl::onCreateGrGLInterface() {
return webkit_glue::CreateCommandBufferSkiaGLBinding();
}

Powered by Google App Engine
This is Rietveld 408576698