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

Unified Diff: content/browser/renderer_host/image_transport_factory_android.cc

Issue 17350003: gpu: Add more context labelling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@GPU_add_context_names
Patch Set: Fix build. Created 7 years, 6 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/image_transport_factory_android.cc
diff --git a/content/browser/renderer_host/image_transport_factory_android.cc b/content/browser/renderer_host/image_transport_factory_android.cc
index c1ea043c00287e0e808950a3daddfd4dc7512654..204869a6f31ba38c8890b1f1fca72c8abddf9904 100644
--- a/content/browser/renderer_host/image_transport_factory_android.cc
+++ b/content/browser/renderer_host/image_transport_factory_android.cc
@@ -58,7 +58,8 @@ DirectGLImageTransportFactory::DirectGLImageTransportFactory() {
CreateViewContext(attrs, NULL);
if (context_->makeContextCurrent())
context_->pushGroupMarkerEXT(
- base::StringPrintf("DirectGLImageTransportFactory-%p", this).c_str());
+ base::StringPrintf("DirectGLImageTransportFactory-%p",
+ context_.get()).c_str());
}
DirectGLImageTransportFactory::~DirectGLImageTransportFactory() {
@@ -116,7 +117,8 @@ CmdBufferImageTransportFactory::CmdBufferImageTransportFactory() {
if (context_->makeContextCurrent())
context_->pushGroupMarkerEXT(
- base::StringPrintf("CmdBufferImageTransportFactory-%p", this).c_str());
+ base::StringPrintf("CmdBufferImageTransportFactory-%p",
+ context_.get()).c_str());
}
CmdBufferImageTransportFactory::~CmdBufferImageTransportFactory() {
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698