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

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

Issue 2586803003: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Rebase, update comment for alpha semantics Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp ('k') | ui/gl/gl_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a4b587430230bcddd37037fb702598a5ca9e4249..8c569a75d7f6661186734e11b8fcaa46690a2bb3 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;
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp ('k') | ui/gl/gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698