Index: ui/ozone/public/surface_ozone_egl.h |
diff --git a/ui/ozone/public/surface_ozone_egl.h b/ui/ozone/public/surface_ozone_egl.h |
index 4f38f06b2117c2e2605af9bd2f86d1f4c92a871c..ea8d1634d7cca870dae40595d08cea59285612db 100644 |
--- a/ui/ozone/public/surface_ozone_egl.h |
+++ b/ui/ozone/public/surface_ozone_egl.h |
@@ -44,6 +44,9 @@ class OZONE_BASE_EXPORT SurfaceOzoneEGL { |
// outside of the sandbox, they must have been completed in |
// InitializeHardware. Returns an empty scoped_ptr on error. |
virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() = 0; |
+ |
+ // Returns true if the underlying implementation supports partial swap. |
+ virtual bool SupportsPartialSwap() = 0; |
}; |
} // namespace ui |