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

Unified Diff: services/ui/surfaces/display_output_surface.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
« no previous file with comments | « services/ui/surfaces/display_output_surface.h ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_output_surface.cc
diff --git a/services/ui/surfaces/display_output_surface.cc b/services/ui/surfaces/display_output_surface.cc
index 85ece68dd7dfaa9e5d9c8c295e188d26eab6ab94..5a26d6920256a4478648d8913267c330d77756d6 100644
--- a/services/ui/surfaces/display_output_surface.cc
+++ b/services/ui/surfaces/display_output_surface.cc
@@ -118,6 +118,10 @@ bool DisplayOutputSurface::HasExternalStencilTest() const {
void DisplayOutputSurface::ApplyExternalStencil() {}
+bool DisplayOutputSurface::CanPartialDraw(const gfx::Rect& damage) {
+ return false;
+}
+
void DisplayOutputSurface::DidReceiveSwapBuffersAck(gfx::SwapResult result) {
client_->DidReceiveSwapBuffersAck();
}
« no previous file with comments | « services/ui/surfaces/display_output_surface.h ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698