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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2698573002: Support offscreen contexts which own their backing surface (Closed)
Patch Set: Add missing alpha_size setting Created 3 years, 10 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: 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 5835825aaaabaf8c720e15860bf1ffbb7764114c..314db23f83e7bdc9fda242f12832dc938da8c39d 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -460,6 +460,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;
aelias_OOO_until_Jul13 2017/02/16 03:25:51 These "true"s mixed in look arbitrary, can this be
klausw 2017/02/16 20:06:57 Done.
+ bool supportDepth = false;
+ bool supportAntialias = true;
+ bool supportStencil = false;
};
struct GraphicsInfo {
unsigned vendorId = 0;

Powered by Google App Engine
This is Rietveld 408576698