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

Unified Diff: cc/output/direct_renderer.cc

Issue 14960006: cc: Don't do CompositeAndReadback when using DelegatingRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 523c39aa4e33b41107bb73e80d81fbf3776de639..4eea7080d0a6be7b1006fe04f6f70393aef2a4ad 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -126,6 +126,8 @@ DirectRenderer::DirectRenderer(RendererClient* client,
DirectRenderer::~DirectRenderer() {}
+bool DirectRenderer::CanReadPixels() const { return true; }
+
void DirectRenderer::SetEnlargePassTextureAmountForTesting(
gfx::Vector2d amount) {
enlarge_pass_texture_amount_ = amount;
« no previous file with comments | « cc/output/direct_renderer.h ('k') | cc/output/renderer.h » ('j') | cc/trees/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698