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

Unified Diff: services/ui/surfaces/display_output_surface.h

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: services/ui/surfaces/display_output_surface.h
diff --git a/services/ui/surfaces/display_output_surface.h b/services/ui/surfaces/display_output_surface.h
index 0861c1d7bbe1a3baaa2bd52965f7df687b4a500e..c53717bec75b972d76fd2466c59abdbaa6cb2554 100644
--- a/services/ui/surfaces/display_output_surface.h
+++ b/services/ui/surfaces/display_output_surface.h
@@ -44,6 +44,7 @@ class DisplayOutputSurface : public cc::OutputSurface {
bool SurfaceIsSuspendForRecycle() const override;
bool HasExternalStencilTest() const override;
void ApplyExternalStencil() override;
+ bool CanPartialDraw(const gfx::Rect& damage) override;
protected:
cc::OutputSurfaceClient* client() const { return client_; }
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | services/ui/surfaces/display_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698