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

Unified Diff: modules/webgl/WebGLContextAttributes.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 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 | « modules/webgl/WebGLCompressedTextureS3TC.idl ('k') | modules/webgl/WebGLContextEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webgl/WebGLContextAttributes.idl
diff --git a/core/html/canvas/WebGLContextAttributes.idl b/modules/webgl/WebGLContextAttributes.idl
similarity index 79%
rename from core/html/canvas/WebGLContextAttributes.idl
rename to modules/webgl/WebGLContextAttributes.idl
index ecd211a783a302f43cf70105ab00c073a20b989f..9a48073e9748fc4fdf6ef2080fbec93bf1005aa6 100644
--- a/core/html/canvas/WebGLContextAttributes.idl
+++ b/modules/webgl/WebGLContextAttributes.idl
@@ -24,15 +24,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject,
- WillBeGarbageCollected,
-] interface WebGLContextAttributes {
- attribute boolean alpha;
- attribute boolean depth;
- attribute boolean stencil;
- attribute boolean antialias;
- attribute boolean premultipliedAlpha;
- attribute boolean preserveDrawingBuffer;
- attribute boolean failIfMajorPerformanceCaveat;
+// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2
+
+dictionary WebGLContextAttributes {
+ boolean alpha = true;
+ boolean depth = true;
+ boolean stencil = false;
+ boolean antialias = true;
+ boolean premultipliedAlpha = true;
+ boolean preserveDrawingBuffer = false;
+ boolean failIfMajorPerformanceCaveat = false;
};
« no previous file with comments | « modules/webgl/WebGLCompressedTextureS3TC.idl ('k') | modules/webgl/WebGLContextEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698