| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of dom.web_gl; | 5 part of dom.web_gl; |
| 6 | 6 |
| 7 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | 7 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
| 8 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | 8 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; |
| 9 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | 9 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; |
| 10 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; | 10 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; | 34 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; |
| 35 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; | 35 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; |
| 36 const int BYTE = RenderingContext.BYTE; | 36 const int BYTE = RenderingContext.BYTE; |
| 37 const int CCW = RenderingContext.CCW; | 37 const int CCW = RenderingContext.CCW; |
| 38 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; | 38 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; |
| 39 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; | 39 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; |
| 40 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; | 40 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; |
| 41 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; | 41 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; |
| 42 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; | 42 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; |
| 43 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; | 43 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; |
| 44 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA
TS; | 44 const int COMPRESSED_TEXTURE_FORMATS = |
| 45 RenderingContext.COMPRESSED_TEXTURE_FORMATS; |
| 45 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; | 46 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; |
| 46 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; | 47 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; |
| 47 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; | 48 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; |
| 48 const int CULL_FACE = RenderingContext.CULL_FACE; | 49 const int CULL_FACE = RenderingContext.CULL_FACE; |
| 49 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; | 50 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; |
| 50 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; | 51 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; |
| 51 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; | 52 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; |
| 52 const int CW = RenderingContext.CW; | 53 const int CW = RenderingContext.CW; |
| 53 const int DECR = RenderingContext.DECR; | 54 const int DECR = RenderingContext.DECR; |
| 54 const int DECR_WRAP = RenderingContext.DECR_WRAP; | 55 const int DECR_WRAP = RenderingContext.DECR_WRAP; |
| 55 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; | 56 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; |
| 56 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; | 57 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; |
| 57 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; | 58 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; |
| 58 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; | 59 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; |
| 59 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; | 60 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; |
| 60 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; | 61 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; |
| 61 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; | 62 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; |
| 62 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; | 63 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; |
| 63 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; | 64 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; |
| 64 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; | 65 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; |
| 65 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; | 66 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; |
| 66 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; | 67 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; |
| 67 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; | 68 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; |
| 68 const int DITHER = RenderingContext.DITHER; | 69 const int DITHER = RenderingContext.DITHER; |
| 69 const int DONT_CARE = RenderingContext.DONT_CARE; | 70 const int DONT_CARE = RenderingContext.DONT_CARE; |
| 70 const int DST_ALPHA = RenderingContext.DST_ALPHA; | 71 const int DST_ALPHA = RenderingContext.DST_ALPHA; |
| 71 const int DST_COLOR = RenderingContext.DST_COLOR; | 72 const int DST_COLOR = RenderingContext.DST_COLOR; |
| 72 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; | 73 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; |
| 73 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; | 74 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; |
| 74 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B
INDING; | 75 const int ELEMENT_ARRAY_BUFFER_BINDING = |
| 76 RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING; |
| 75 const int EQUAL = RenderingContext.EQUAL; | 77 const int EQUAL = RenderingContext.EQUAL; |
| 76 const int FASTEST = RenderingContext.FASTEST; | 78 const int FASTEST = RenderingContext.FASTEST; |
| 77 const int FLOAT = RenderingContext.FLOAT; | 79 const int FLOAT = RenderingContext.FLOAT; |
| 78 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; | 80 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; |
| 79 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; | 81 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; |
| 80 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; | 82 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; |
| 81 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; | 83 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; |
| 82 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; | 84 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; |
| 83 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; | 85 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; |
| 84 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; | 86 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; |
| 85 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; | 87 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; |
| 86 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_NAME; | 88 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = |
| 87 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_TYPE; | 89 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; |
| 88 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB
UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; | 90 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = |
| 89 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT
TACHMENT_TEXTURE_LEVEL; | 91 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; |
| 92 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = |
| 93 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; |
| 94 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = |
| 95 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; |
| 90 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; | 96 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; |
| 91 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; | 97 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; |
| 92 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM
PLETE_ATTACHMENT; | 98 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = |
| 93 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM
PLETE_DIMENSIONS; | 99 RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT; |
| 94 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF
ER_INCOMPLETE_MISSING_ATTACHMENT; | 100 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = |
| 101 RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS; |
| 102 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = |
| 103 RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; |
| 95 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; | 104 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; |
| 96 const int FRONT = RenderingContext.FRONT; | 105 const int FRONT = RenderingContext.FRONT; |
| 97 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; | 106 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; |
| 98 const int FRONT_FACE = RenderingContext.FRONT_FACE; | 107 const int FRONT_FACE = RenderingContext.FRONT_FACE; |
| 99 const int FUNC_ADD = RenderingContext.FUNC_ADD; | 108 const int FUNC_ADD = RenderingContext.FUNC_ADD; |
| 100 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; | 109 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; |
| 101 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; | 110 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; |
| 102 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; | 111 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; |
| 103 const int GEQUAL = RenderingContext.GEQUAL; | 112 const int GEQUAL = RenderingContext.GEQUAL; |
| 104 const int GREATER = RenderingContext.GREATER; | 113 const int GREATER = RenderingContext.GREATER; |
| 105 const int GREEN_BITS = RenderingContext.GREEN_BITS; | 114 const int GREEN_BITS = RenderingContext.GREEN_BITS; |
| 106 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; | 115 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; |
| 107 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; | 116 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; |
| 108 const int HIGH_INT = RenderingContext.HIGH_INT; | 117 const int HIGH_INT = RenderingContext.HIGH_INT; |
| 109 const int INCR = RenderingContext.INCR; | 118 const int INCR = RenderingContext.INCR; |
| 110 const int INCR_WRAP = RenderingContext.INCR_WRAP; | 119 const int INCR_WRAP = RenderingContext.INCR_WRAP; |
| 111 const int INT = RenderingContext.INT; | 120 const int INT = RenderingContext.INT; |
| 112 const int INT_VEC2 = RenderingContext.INT_VEC2; | 121 const int INT_VEC2 = RenderingContext.INT_VEC2; |
| 113 const int INT_VEC3 = RenderingContext.INT_VEC3; | 122 const int INT_VEC3 = RenderingContext.INT_VEC3; |
| 114 const int INT_VEC4 = RenderingContext.INT_VEC4; | 123 const int INT_VEC4 = RenderingContext.INT_VEC4; |
| 115 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; | 124 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; |
| 116 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; | 125 const int INVALID_FRAMEBUFFER_OPERATION = |
| 126 RenderingContext.INVALID_FRAMEBUFFER_OPERATION; |
| 117 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; | 127 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; |
| 118 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; | 128 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; |
| 119 const int INVERT = RenderingContext.INVERT; | 129 const int INVERT = RenderingContext.INVERT; |
| 120 const int KEEP = RenderingContext.KEEP; | 130 const int KEEP = RenderingContext.KEEP; |
| 121 const int LEQUAL = RenderingContext.LEQUAL; | 131 const int LEQUAL = RenderingContext.LEQUAL; |
| 122 const int LESS = RenderingContext.LESS; | 132 const int LESS = RenderingContext.LESS; |
| 123 const int LINEAR = RenderingContext.LINEAR; | 133 const int LINEAR = RenderingContext.LINEAR; |
| 124 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; | 134 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; |
| 125 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; | 135 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; |
| 126 const int LINES = RenderingContext.LINES; | 136 const int LINES = RenderingContext.LINES; |
| 127 const int LINE_LOOP = RenderingContext.LINE_LOOP; | 137 const int LINE_LOOP = RenderingContext.LINE_LOOP; |
| 128 const int LINE_STRIP = RenderingContext.LINE_STRIP; | 138 const int LINE_STRIP = RenderingContext.LINE_STRIP; |
| 129 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; | 139 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; |
| 130 const int LINK_STATUS = RenderingContext.LINK_STATUS; | 140 const int LINK_STATUS = RenderingContext.LINK_STATUS; |
| 131 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; | 141 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; |
| 132 const int LOW_INT = RenderingContext.LOW_INT; | 142 const int LOW_INT = RenderingContext.LOW_INT; |
| 133 const int LUMINANCE = RenderingContext.LUMINANCE; | 143 const int LUMINANCE = RenderingContext.LUMINANCE; |
| 134 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; | 144 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; |
| 135 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU
RE_IMAGE_UNITS; | 145 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = |
| 136 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE
; | 146 RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS; |
| 137 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V
ECTORS; | 147 const int MAX_CUBE_MAP_TEXTURE_SIZE = |
| 148 RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE; |
| 149 const int MAX_FRAGMENT_UNIFORM_VECTORS = |
| 150 RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS; |
| 138 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; | 151 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; |
| 139 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; | 152 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; |
| 140 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; | 153 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; |
| 141 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; | 154 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; |
| 142 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; | 155 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; |
| 143 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I
MAGE_UNITS; | 156 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = |
| 144 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO
RS; | 157 RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS; |
| 158 const int MAX_VERTEX_UNIFORM_VECTORS = |
| 159 RenderingContext.MAX_VERTEX_UNIFORM_VECTORS; |
| 145 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; | 160 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; |
| 146 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; | 161 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; |
| 147 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; | 162 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; |
| 148 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; | 163 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; |
| 149 const int NEAREST = RenderingContext.NEAREST; | 164 const int NEAREST = RenderingContext.NEAREST; |
| 150 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; | 165 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; |
| 151 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; | 166 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; |
| 152 const int NEVER = RenderingContext.NEVER; | 167 const int NEVER = RenderingContext.NEVER; |
| 153 const int NICEST = RenderingContext.NICEST; | 168 const int NICEST = RenderingContext.NICEST; |
| 154 const int NONE = RenderingContext.NONE; | 169 const int NONE = RenderingContext.NONE; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 168 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; | 183 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; |
| 169 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; | 184 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; |
| 170 const int RED_BITS = RenderingContext.RED_BITS; | 185 const int RED_BITS = RenderingContext.RED_BITS; |
| 171 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; | 186 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; |
| 172 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; | 187 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; |
| 173 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; | 188 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; |
| 174 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; | 189 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; |
| 175 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; | 190 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; |
| 176 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; | 191 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; |
| 177 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; | 192 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; |
| 178 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_
FORMAT; | 193 const int RENDERBUFFER_INTERNAL_FORMAT = |
| 194 RenderingContext.RENDERBUFFER_INTERNAL_FORMAT; |
| 179 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; | 195 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; |
| 180 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE
; | 196 const int RENDERBUFFER_STENCIL_SIZE = |
| 197 RenderingContext.RENDERBUFFER_STENCIL_SIZE; |
| 181 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; | 198 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; |
| 182 const int RENDERER = RenderingContext.RENDERER; | 199 const int RENDERER = RenderingContext.RENDERER; |
| 183 const int REPEAT = RenderingContext.REPEAT; | 200 const int REPEAT = RenderingContext.REPEAT; |
| 184 const int REPLACE = RenderingContext.REPLACE; | 201 const int REPLACE = RenderingContext.REPLACE; |
| 185 const int RGB = RenderingContext.RGB; | 202 const int RGB = RenderingContext.RGB; |
| 186 const int RGB565 = RenderingContext.RGB565; | 203 const int RGB565 = RenderingContext.RGB565; |
| 187 const int RGB5_A1 = RenderingContext.RGB5_A1; | 204 const int RGB5_A1 = RenderingContext.RGB5_A1; |
| 188 const int RGBA = RenderingContext.RGBA; | 205 const int RGBA = RenderingContext.RGBA; |
| 189 const int RGBA4 = RenderingContext.RGBA4; | 206 const int RGBA4 = RenderingContext.RGBA4; |
| 190 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; | 207 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; |
| 191 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; | 208 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; |
| 192 const int SAMPLES = RenderingContext.SAMPLES; | 209 const int SAMPLES = RenderingContext.SAMPLES; |
| 193 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; | 210 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; |
| 194 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; | 211 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; |
| 195 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; | 212 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; |
| 196 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; | 213 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; |
| 197 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; | 214 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; |
| 198 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; | 215 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; |
| 199 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; | 216 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; |
| 200 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; | 217 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; |
| 201 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; | 218 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; |
| 202 const int SHORT = RenderingContext.SHORT; | 219 const int SHORT = RenderingContext.SHORT; |
| 203 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; | 220 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; |
| 204 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; | 221 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; |
| 205 const int SRC_COLOR = RenderingContext.SRC_COLOR; | 222 const int SRC_COLOR = RenderingContext.SRC_COLOR; |
| 206 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; | 223 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; |
| 207 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; | 224 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; |
| 208 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; | 225 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; |
| 209 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; | 226 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; |
| 210 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT
H_FAIL; | 227 const int STENCIL_BACK_PASS_DEPTH_FAIL = |
| 211 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT
H_PASS; | 228 RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL; |
| 229 const int STENCIL_BACK_PASS_DEPTH_PASS = |
| 230 RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS; |
| 212 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; | 231 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; |
| 213 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; | 232 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; |
| 214 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; | 233 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; |
| 215 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; | 234 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; |
| 216 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; | 235 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; |
| 217 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; | 236 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; |
| 218 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; | 237 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; |
| 219 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; | 238 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; |
| 220 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; | 239 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; |
| 221 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; | 240 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 const int TEXTURE4 = RenderingContext.TEXTURE4; | 276 const int TEXTURE4 = RenderingContext.TEXTURE4; |
| 258 const int TEXTURE5 = RenderingContext.TEXTURE5; | 277 const int TEXTURE5 = RenderingContext.TEXTURE5; |
| 259 const int TEXTURE6 = RenderingContext.TEXTURE6; | 278 const int TEXTURE6 = RenderingContext.TEXTURE6; |
| 260 const int TEXTURE7 = RenderingContext.TEXTURE7; | 279 const int TEXTURE7 = RenderingContext.TEXTURE7; |
| 261 const int TEXTURE8 = RenderingContext.TEXTURE8; | 280 const int TEXTURE8 = RenderingContext.TEXTURE8; |
| 262 const int TEXTURE9 = RenderingContext.TEXTURE9; | 281 const int TEXTURE9 = RenderingContext.TEXTURE9; |
| 263 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; | 282 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; |
| 264 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; | 283 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; |
| 265 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; | 284 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; |
| 266 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; | 285 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; |
| 267 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_X; | 286 const int TEXTURE_CUBE_MAP_NEGATIVE_X = |
| 268 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Y; | 287 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X; |
| 269 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Z; | 288 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = |
| 270 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_X; | 289 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y; |
| 271 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Y; | 290 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = |
| 272 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Z; | 291 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z; |
| 292 const int TEXTURE_CUBE_MAP_POSITIVE_X = |
| 293 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X; |
| 294 const int TEXTURE_CUBE_MAP_POSITIVE_Y = |
| 295 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y; |
| 296 const int TEXTURE_CUBE_MAP_POSITIVE_Z = |
| 297 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z; |
| 273 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; | 298 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; |
| 274 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; | 299 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; |
| 275 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; | 300 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; |
| 276 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; | 301 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; |
| 277 const int TRIANGLES = RenderingContext.TRIANGLES; | 302 const int TRIANGLES = RenderingContext.TRIANGLES; |
| 278 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; | 303 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; |
| 279 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; | 304 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; |
| 280 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; | 305 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; |
| 281 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC
E_CONVERSION_WEBGL; | 306 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = |
| 307 RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL; |
| 282 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; | 308 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; |
| 283 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A
LPHA_WEBGL; | 309 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = |
| 310 RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL; |
| 284 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; | 311 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; |
| 285 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; | 312 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; |
| 286 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; | 313 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; |
| 287 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; | 314 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; |
| 288 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; | 315 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; |
| 289 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; | 316 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; |
| 290 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; | 317 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; |
| 291 const int VENDOR = RenderingContext.VENDOR; | 318 const int VENDOR = RenderingContext.VENDOR; |
| 292 const int VERSION = RenderingContext.VERSION; | 319 const int VERSION = RenderingContext.VERSION; |
| 293 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR
RAY_BUFFER_BINDING; | 320 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = |
| 294 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA
BLED; | 321 RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; |
| 295 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_
NORMALIZED; | 322 const int VERTEX_ATTRIB_ARRAY_ENABLED = |
| 296 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI
NTER; | 323 RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED; |
| 324 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = |
| 325 RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED; |
| 326 const int VERTEX_ATTRIB_ARRAY_POINTER = |
| 327 RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER; |
| 297 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; | 328 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; |
| 298 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI
DE; | 329 const int VERTEX_ATTRIB_ARRAY_STRIDE = |
| 330 RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE; |
| 299 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; | 331 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; |
| 300 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; | 332 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; |
| 301 const int VIEWPORT = RenderingContext.VIEWPORT; | 333 const int VIEWPORT = RenderingContext.VIEWPORT; |
| 302 const int ZERO = RenderingContext.ZERO; | 334 const int ZERO = RenderingContext.ZERO; |
| OLD | NEW |