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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1186393004: gpu: Remove async texture uploads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/test/fake_compositor_dependencies.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index e10b26b9fd9327fb005e850d8028027495fcd73a..5ce43bb78f39c89f1c5f953eb0097124a83e5fa3 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -652,7 +652,6 @@ void RenderThreadImpl::Init() {
!command_line.HasSwitch(cc::switches::kDisableThreadedAnimation);
is_zero_copy_enabled_ = command_line.HasSwitch(switches::kEnableZeroCopy);
- is_one_copy_enabled_ = !command_line.HasSwitch(switches::kDisableOneCopy);
is_persistent_gpu_memory_buffer_enabled_ =
command_line.HasSwitch(switches::kEnablePersistentGpuMemoryBuffer);
@@ -1483,10 +1482,6 @@ bool RenderThreadImpl::IsZeroCopyEnabled() {
return is_zero_copy_enabled_;
}
-bool RenderThreadImpl::IsOneCopyEnabled() {
- return is_one_copy_enabled_;
-}
-
bool RenderThreadImpl::IsPersistentGpuMemoryBufferEnabled() {
return is_persistent_gpu_memory_buffer_enabled_;
}
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/test/fake_compositor_dependencies.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698