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

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

Issue 2776923003: cc: Partial draw without partial swap support. (Closed)
Patch Set: avoid BufferQueue::RecreateBuffer changes Created 3 years, 8 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/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index b4d13ee0391c6928c3187b376a7f9af74c67bd3e..4122ed6468a469c8839e23f134395acd41e756f3 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -286,6 +286,8 @@ class AndroidOutputSurface : public cc::OutputSurface {
return gl->GetCopyTextureInternalFormat();
}
+ bool CanPartialDraw(const gfx::Rect& damage) override { return false; }
+
private:
gpu::CommandBufferProxyImpl* GetCommandBufferProxy() {
ui::ContextProviderCommandBuffer* provider_command_buffer =

Powered by Google App Engine
This is Rietveld 408576698