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

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: Rebase. 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
« cc/output/gl_renderer.cc ('K') | « 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 135e188cf3caccd3122143c03e1e93a6924be932..3cc4a09fb91b0f113018b1078b1e3707cc1cdd27 100644
--- a/content/browser/renderer_host/image_transport_factory_android.cc
+++ b/content/browser/renderer_host/image_transport_factory_android.cc
@@ -59,7 +59,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() {
@@ -107,7 +108,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() {
« cc/output/gl_renderer.cc ('K') | « cc/output/gl_renderer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698