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

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.cc

Issue 11361077: Disable threaded compositing when texture sharing is blacklisted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix include path Created 8 years, 1 month 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 | « content/browser/gpu/compositor_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_compositor_support_impl.cc
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.cc b/webkit/compositor_bindings/web_compositor_support_impl.cc
index 32a18408180f2ff163223c1aac85fcc6eec1549f..6d237be7755e04f0cdf5d1ac6f6c45eb96759312 100644
--- a/webkit/compositor_bindings/web_compositor_support_impl.cc
+++ b/webkit/compositor_bindings/web_compositor_support_impl.cc
@@ -5,6 +5,7 @@
#include "config.h"
#include "webkit/compositor_bindings/web_compositor_support_impl.h"
+#include "base/debug/trace_event.h"
#include "base/memory/scoped_ptr.h"
#include "cc/settings.h"
#include "webkit/compositor_bindings/web_animation_impl.h"
@@ -56,6 +57,9 @@ WebCompositorSupportImpl::~WebCompositorSupportImpl() {
}
void WebCompositorSupportImpl::initialize(WebKit::WebThread* thread) {
+ if (thread) {
+ TRACE_EVENT_INSTANT0("test_gpu", "ThreadedCompositingInitialization");
+ }
WebCompositorImpl::initialize(thread);
}
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698