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'), |