Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 740039cbc686eef5e9cf707f85b1100d632e307f..87e4ca8d07550d7666b819fcce1e3254a54ca132 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -92,6 +92,9 @@ class CC_EXPORT OutputSurface { |
// Get the texture for the main image's overlay. |
virtual unsigned GetOverlayTextureId() const = 0; |
+ // Returns true if the the surface is more than 8 bits per pixel. |
+ virtual bool IsHighBitDepth() const; |
enne (OOO)
2017/02/01 23:55:22
Maybe should also be pure virtual like the rest of
danakj
2017/02/02 16:23:09
Yes please.
|
+ |
// If this returns true, then the surface will not attempt to draw. |
virtual bool SurfaceIsSuspendForRecycle() const = 0; |