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

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

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: add unittest and move implementation around Created 3 years, 10 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 49abcb2ce93af4880932990c093b24aec42ed6a5..29e0abbf0e4b3ed2ad57e7dabaa2fad2d91eddda 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -184,6 +184,8 @@ class AndroidOutputSurface : public cc::OutputSurface {
context_provider()->ContextGL()->BindFramebuffer(GL_FRAMEBUFFER, 0);
}
+ void SetDrawRectangle(const gfx::Rect& rect) override {}
+
void Reshape(const gfx::Size& size,
float device_scale_factor,
const gfx::ColorSpace& color_space,

Powered by Google App Engine
This is Rietveld 408576698