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

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

Issue 10735010: 3D Compositing in <browser>, first draft. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use the correct baseline 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/browser/renderer_host/gpu_message_filter.cc
diff --git a/content/browser/renderer_host/gpu_message_filter.cc b/content/browser/renderer_host/gpu_message_filter.cc
index 6a06d0af6d193dac9166e7b0f710acfa2b30d95d..8191a69c1a1969f524dedff0432d02eda4f170ca 100644
--- a/content/browser/renderer_host/gpu_message_filter.cc
+++ b/content/browser/renderer_host/gpu_message_filter.cc
@@ -42,11 +42,9 @@ GpuMessageFilter::GpuMessageFilter(int render_process_id,
weak_ptr_factory_(this) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
-#if defined(USE_AURA) || defined(OS_ANDROID)
- // We use the GPU process for UI on Aura, and we need to share renderer GL
- // contexts with the compositor context.
+ // We need to share browser plugin parent and child contexts on all
+ // platforms.
share_contexts_ = true;
-#endif
}
GpuMessageFilter::~GpuMessageFilter() {
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698