Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index fce5664099199ddecb2f2cff594aa94207c7000a..0c4e862ab59541e7e25bf5078ebd8a1f7f5953b0 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -459,6 +459,12 @@ class BLINK_PLATFORM_EXPORT Platform { |
struct ContextAttributes { |
bool failIfMajorPerformanceCaveat = false; |
unsigned webGLVersion = 0; |
+ bool supportOwnOffscreenSurface = false; |
+ // The remaining values are only used if supportOwnOffscreenSurface is true. |
+ bool supportAlpha = true; |
+ bool supportDepth = false; |
+ bool supportAntialias = true; |
+ bool supportStencil = false; |
}; |
struct GraphicsInfo { |
unsigned vendorId = 0; |