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

Unified Diff: tools/dom/scripts/generator.py

Issue 1748383002: Fix more things with webgl so it works (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: Moved fix from integration to Master Created 4 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
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index 36965dec5417d5011173231b4c35de99bc4432ee..a80847f81dfbfcf35fe9ee1f383327aad7e26b12 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -1309,6 +1309,22 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', {
suppress_interface=True),
'GLenum': TypeData(clazz='Primitive', dart_type='int',
native_type='unsigned'),
+ 'GLboolean': TypeData(clazz='Primitive', dart_type='bool',
+ native_type='bool'),
+ 'GLbitfield': TypeData(clazz='Primitive', dart_type='int',
+ native_type='unsigned'),
+ 'GLshort': TypeData(clazz='Primitive', dart_type='int', native_type='short'),
+ 'GLint': TypeData(clazz='Primitive', dart_type='int',
+ native_type='long'),
+ 'GLsizei': TypeData(clazz='Primitive', dart_type='int',
+ native_type='long'),
+ 'GLintptr': TypeData(clazz='Primitive', dart_type='int'),
+ 'GLsizeiptr': TypeData(clazz='Primitive', dart_type='int'),
+ 'GLushort': TypeData(clazz='Primitive', dart_type='int', native_type='int'),
+ 'GLuint': TypeData(clazz='Primitive', dart_type='int',
+ native_type='unsigned'),
+ 'GLfloat': TypeData(clazz='Primitive', dart_type='num', native_type='float'),
+ 'GLclampf': TypeData(clazz='Primitive', dart_type='num', native_type='float'),
'HTMLCollection': TypeData(clazz='Interface', item_type='Node',
dart_type='List<Node>'),
'NamedNodeMap': TypeData(clazz='Interface', item_type='Node'),
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698