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

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

Issue 2461803002: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Drop unnecessary dependent patch Created 4 years, 1 month 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 747885a940b479fac6bcd5a2f069c40775d78f50..05422218d50f2a442d9c51c3d731b46c93f39e70 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -470,8 +470,13 @@ class BLINK_PLATFORM_EXPORT Platform {
// GPU ----------------------------------------------------------------
//
struct ContextAttributes {
+ bool alpha = true;
+ bool depth = true;
+ bool stencil = false;
+ bool antialias = true;
bool failIfMajorPerformanceCaveat = false;
unsigned webGLVersion = 0;
+ bool ownOffscreenSurface = false;
};
struct GraphicsInfo {
unsigned vendorId = 0;

Powered by Google App Engine
This is Rietveld 408576698