| OLD | NEW |
| 1 /** | 1 /** |
| 2 * This library provides entry points to the native Blink code which backs | 2 * This library provides entry points to the native Blink code which backs |
| 3 * up the dart:html library. | 3 * up the dart:html library. |
| 4 */ | 4 */ |
| 5 library dart.dom._blink; | 5 library dart.dom._blink; |
| 6 | 6 |
| 7 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 7 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 8 // for details. All rights reserved. Use of this source code is governed by a | 8 // for details. All rights reserved. Use of this source code is governed by a |
| 9 // BSD-style license that can be found in the LICENSE file. | 9 // BSD-style license that can be found in the LICENSE file. |
| 10 | 10 |
| (...skipping 7975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7986 static parentNode_Callback(mthis) native "TreeWalker_parentNode_Callback"; | 7986 static parentNode_Callback(mthis) native "TreeWalker_parentNode_Callback"; |
| 7987 | 7987 |
| 7988 static previousNode_Callback(mthis) native "TreeWalker_previousNode_Callback"; | 7988 static previousNode_Callback(mthis) native "TreeWalker_previousNode_Callback"; |
| 7989 | 7989 |
| 7990 static previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Call
back"; | 7990 static previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Call
back"; |
| 7991 } | 7991 } |
| 7992 | 7992 |
| 7993 class BlinkURL { | 7993 class BlinkURL { |
| 7994 static createObjectURL_Callback_Blob(blob_OR_source_OR_stream) native "URL_cre
ateObjectURL_Callback_Blob"; | 7994 static createObjectURL_Callback_Blob(blob_OR_source_OR_stream) native "URL_cre
ateObjectURL_Callback_Blob"; |
| 7995 | 7995 |
| 7996 static createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaSource"; |
| 7997 |
| 7996 static createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaStream"; | 7998 static createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaStream"; |
| 7997 | 7999 |
| 7998 static createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaSource"; | |
| 7999 | |
| 8000 static revokeObjectURL_Callback_DOMString(url) native "URL_revokeObjectURL_Cal
lback_DOMString"; | 8000 static revokeObjectURL_Callback_DOMString(url) native "URL_revokeObjectURL_Cal
lback_DOMString"; |
| 8001 | 8001 |
| 8002 static hash_Getter(mthis) native "URL_hash_Getter"; | 8002 static hash_Getter(mthis) native "URL_hash_Getter"; |
| 8003 | 8003 |
| 8004 static hash_Setter_DOMString(mthis, value) native "URL_hash_Setter"; | 8004 static hash_Setter_DOMString(mthis, value) native "URL_hash_Setter"; |
| 8005 | 8005 |
| 8006 static host_Getter(mthis) native "URL_host_Getter"; | 8006 static host_Getter(mthis) native "URL_host_Getter"; |
| 8007 | 8007 |
| 8008 static host_Setter_DOMString(mthis, value) native "URL_host_Setter"; | 8008 static host_Setter_DOMString(mthis, value) native "URL_host_Setter"; |
| 8009 | 8009 |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8287 class BlinkWebGLLoseContext { | 8287 class BlinkWebGLLoseContext { |
| 8288 static loseContext_Callback(mthis) native "WebGLLoseContext_loseContext_Callba
ck"; | 8288 static loseContext_Callback(mthis) native "WebGLLoseContext_loseContext_Callba
ck"; |
| 8289 | 8289 |
| 8290 static restoreContext_Callback(mthis) native "WebGLLoseContext_restoreContext_
Callback"; | 8290 static restoreContext_Callback(mthis) native "WebGLLoseContext_restoreContext_
Callback"; |
| 8291 } | 8291 } |
| 8292 | 8292 |
| 8293 class BlinkWebGLProgram {} | 8293 class BlinkWebGLProgram {} |
| 8294 | 8294 |
| 8295 class BlinkWebGLRenderbuffer {} | 8295 class BlinkWebGLRenderbuffer {} |
| 8296 | 8296 |
| 8297 class BlinkWebGLRenderingContextBase { | 8297 class BlinkWebGLRenderingContextBase {} |
| 8298 static canvas_Getter(mthis) native "WebGLRenderingContextBase_canvas_Getter"; | |
| 8299 | |
| 8300 static drawingBufferHeight_Getter(mthis) native "WebGLRenderingContextBase_dra
wingBufferHeight_Getter"; | |
| 8301 | |
| 8302 static drawingBufferWidth_Getter(mthis) native "WebGLRenderingContextBase_draw
ingBufferWidth_Getter"; | |
| 8303 | |
| 8304 static activeTexture_Callback_ul(mthis, texture) native "WebGLRenderingContext
Base_activeTexture_Callback_unsigned long"; | |
| 8305 | |
| 8306 static attachShader_Callback_WebGLProgram_WebGLShader(mthis, program, shader)
native "WebGLRenderingContextBase_attachShader_Callback_WebGLProgram_WebGLShader
"; | |
| 8307 | |
| 8308 static bindAttribLocation_Callback_WebGLProgram_ul_DOMString(mthis, program, i
ndex, name) native "WebGLRenderingContextBase_bindAttribLocation_Callback_WebGLP
rogram_unsigned long_DOMString"; | |
| 8309 | |
| 8310 static bindBuffer_Callback_ul_WebGLBuffer(mthis, target, buffer) native "WebGL
RenderingContextBase_bindBuffer_Callback_unsigned long_WebGLBuffer"; | |
| 8311 | |
| 8312 static bindFramebuffer_Callback_ul_WebGLFramebuffer(mthis, target, framebuffer
) native "WebGLRenderingContextBase_bindFramebuffer_Callback_unsigned long_WebGL
Framebuffer"; | |
| 8313 | |
| 8314 static bindRenderbuffer_Callback_ul_WebGLRenderbuffer(mthis, target, renderbuf
fer) native "WebGLRenderingContextBase_bindRenderbuffer_Callback_unsigned long_W
ebGLRenderbuffer"; | |
| 8315 | |
| 8316 static bindTexture_Callback_ul_WebGLTexture(mthis, target, texture) native "We
bGLRenderingContextBase_bindTexture_Callback_unsigned long_WebGLTexture"; | |
| 8317 | |
| 8318 static blendColor_Callback_float_float_float_float(mthis, red, green, blue, al
pha) native "WebGLRenderingContextBase_blendColor_Callback_float_float_float_flo
at"; | |
| 8319 | |
| 8320 static blendEquation_Callback_ul(mthis, mode) native "WebGLRenderingContextBas
e_blendEquation_Callback_unsigned long"; | |
| 8321 | |
| 8322 static blendEquationSeparate_Callback_ul_ul(mthis, modeRGB, modeAlpha) native
"WebGLRenderingContextBase_blendEquationSeparate_Callback_unsigned long_unsigned
long"; | |
| 8323 | |
| 8324 static blendFunc_Callback_ul_ul(mthis, sfactor, dfactor) native "WebGLRenderin
gContextBase_blendFunc_Callback_unsigned long_unsigned long"; | |
| 8325 | |
| 8326 static blendFuncSeparate_Callback_ul_ul_ul_ul(mthis, srcRGB, dstRGB, srcAlpha,
dstAlpha) native "WebGLRenderingContextBase_blendFuncSeparate_Callback_unsigned
long_unsigned long_unsigned long_unsigned long"; | |
| 8327 | |
| 8328 static bufferData_Callback_ul_ArrayBuffer_ul(mthis, target, data, usage) nativ
e "WebGLRenderingContextBase_bufferData_Callback_unsigned long_ArrayBuffer_unsig
ned long"; | |
| 8329 | |
| 8330 static bufferData_Callback_ul_ll_ul(mthis, target, data_OR_size, usage) native
"WebGLRenderingContextBase_bufferData_Callback_unsigned long_long long_unsigned
long"; | |
| 8331 | |
| 8332 static bufferData_Callback_ul_ArrayBufferView_ul(mthis, target, data_OR_size,
usage) native "WebGLRenderingContextBase_bufferData_Callback_unsigned long_Array
BufferView_unsigned long"; | |
| 8333 | |
| 8334 static bufferSubData_Callback_ul_ll_ArrayBuffer(mthis, target, offset, data) n
ative "WebGLRenderingContextBase_bufferSubData_Callback_unsigned long_long long_
ArrayBuffer"; | |
| 8335 | |
| 8336 static bufferSubData_Callback_ul_ll_ArrayBufferView(mthis, target, offset, dat
a) native "WebGLRenderingContextBase_bufferSubData_Callback_unsigned long_long l
ong_ArrayBufferView"; | |
| 8337 | |
| 8338 static checkFramebufferStatus_Callback_ul(mthis, target) native "WebGLRenderin
gContextBase_checkFramebufferStatus_Callback_unsigned long"; | |
| 8339 | |
| 8340 static clear_Callback_ul(mthis, mask) native "WebGLRenderingContextBase_clear_
Callback_unsigned long"; | |
| 8341 | |
| 8342 static clearColor_Callback_float_float_float_float(mthis, red, green, blue, al
pha) native "WebGLRenderingContextBase_clearColor_Callback_float_float_float_flo
at"; | |
| 8343 | |
| 8344 static clearDepth_Callback_float(mthis, depth) native "WebGLRenderingContextBa
se_clearDepth_Callback_float"; | |
| 8345 | |
| 8346 static clearStencil_Callback_long(mthis, s) native "WebGLRenderingContextBase_
clearStencil_Callback_long"; | |
| 8347 | |
| 8348 static colorMask_Callback_boolean_boolean_boolean_boolean(mthis, red, green, b
lue, alpha) native "WebGLRenderingContextBase_colorMask_Callback_boolean_boolean
_boolean_boolean"; | |
| 8349 | |
| 8350 static compileShader_Callback_WebGLShader(mthis, shader) native "WebGLRenderin
gContextBase_compileShader_Callback_WebGLShader"; | |
| 8351 | |
| 8352 static compressedTexImage2D_Callback_ul_long_ul_long_long_long_ArrayBufferView
(mthis, target, level, internalformat, width, height, border, data) native "WebG
LRenderingContextBase_compressedTexImage2D_Callback_unsigned long_long_unsigned
long_long_long_long_ArrayBufferView"; | |
| 8353 | |
| 8354 static compressedTexSubImage2D_Callback_ul_long_long_long_long_long_ul_ArrayBu
fferView(mthis, target, level, xoffset, yoffset, width, height, format, data) na
tive "WebGLRenderingContextBase_compressedTexSubImage2D_Callback_unsigned long_l
ong_long_long_long_long_unsigned long_ArrayBufferView"; | |
| 8355 | |
| 8356 static copyTexImage2D_Callback_ul_long_ul_long_long_long_long_long(mthis, targ
et, level, internalformat, x, y, width, height, border) native "WebGLRenderingCo
ntextBase_copyTexImage2D_Callback_unsigned long_long_unsigned long_long_long_lon
g_long_long"; | |
| 8357 | |
| 8358 static copyTexSubImage2D_Callback_ul_long_long_long_long_long_long_long(mthis,
target, level, xoffset, yoffset, x, y, width, height) native "WebGLRenderingCon
textBase_copyTexSubImage2D_Callback_unsigned long_long_long_long_long_long_long_
long"; | |
| 8359 | |
| 8360 static createBuffer_Callback(mthis) native "WebGLRenderingContextBase_createBu
ffer_Callback"; | |
| 8361 | |
| 8362 static createFramebuffer_Callback(mthis) native "WebGLRenderingContextBase_cre
ateFramebuffer_Callback"; | |
| 8363 | |
| 8364 static createProgram_Callback(mthis) native "WebGLRenderingContextBase_createP
rogram_Callback"; | |
| 8365 | |
| 8366 static createRenderbuffer_Callback(mthis) native "WebGLRenderingContextBase_cr
eateRenderbuffer_Callback"; | |
| 8367 | |
| 8368 static createShader_Callback_ul(mthis, type) native "WebGLRenderingContextBase
_createShader_Callback_unsigned long"; | |
| 8369 | |
| 8370 static createTexture_Callback(mthis) native "WebGLRenderingContextBase_createT
exture_Callback"; | |
| 8371 | |
| 8372 static cullFace_Callback_ul(mthis, mode) native "WebGLRenderingContextBase_cul
lFace_Callback_unsigned long"; | |
| 8373 | |
| 8374 static deleteBuffer_Callback_WebGLBuffer(mthis, buffer) native "WebGLRendering
ContextBase_deleteBuffer_Callback_WebGLBuffer"; | |
| 8375 | |
| 8376 static deleteFramebuffer_Callback_WebGLFramebuffer(mthis, framebuffer) native
"WebGLRenderingContextBase_deleteFramebuffer_Callback_WebGLFramebuffer"; | |
| 8377 | |
| 8378 static deleteProgram_Callback_WebGLProgram(mthis, program) native "WebGLRender
ingContextBase_deleteProgram_Callback_WebGLProgram"; | |
| 8379 | |
| 8380 static deleteRenderbuffer_Callback_WebGLRenderbuffer(mthis, renderbuffer) nati
ve "WebGLRenderingContextBase_deleteRenderbuffer_Callback_WebGLRenderbuffer"; | |
| 8381 | |
| 8382 static deleteShader_Callback_WebGLShader(mthis, shader) native "WebGLRendering
ContextBase_deleteShader_Callback_WebGLShader"; | |
| 8383 | |
| 8384 static deleteTexture_Callback_WebGLTexture(mthis, texture) native "WebGLRender
ingContextBase_deleteTexture_Callback_WebGLTexture"; | |
| 8385 | |
| 8386 static depthFunc_Callback_ul(mthis, func) native "WebGLRenderingContextBase_de
pthFunc_Callback_unsigned long"; | |
| 8387 | |
| 8388 static depthMask_Callback_boolean(mthis, flag) native "WebGLRenderingContextBa
se_depthMask_Callback_boolean"; | |
| 8389 | |
| 8390 static depthRange_Callback_float_float(mthis, zNear, zFar) native "WebGLRender
ingContextBase_depthRange_Callback_float_float"; | |
| 8391 | |
| 8392 static detachShader_Callback_WebGLProgram_WebGLShader(mthis, program, shader)
native "WebGLRenderingContextBase_detachShader_Callback_WebGLProgram_WebGLShader
"; | |
| 8393 | |
| 8394 static disable_Callback_ul(mthis, cap) native "WebGLRenderingContextBase_disab
le_Callback_unsigned long"; | |
| 8395 | |
| 8396 static disableVertexAttribArray_Callback_ul(mthis, index) native "WebGLRenderi
ngContextBase_disableVertexAttribArray_Callback_unsigned long"; | |
| 8397 | |
| 8398 static drawArrays_Callback_ul_long_long(mthis, mode, first, count) native "Web
GLRenderingContextBase_drawArrays_Callback_unsigned long_long_long"; | |
| 8399 | |
| 8400 static drawElements_Callback_ul_long_ul_ll(mthis, mode, count, type, offset) n
ative "WebGLRenderingContextBase_drawElements_Callback_unsigned long_long_unsign
ed long_long long"; | |
| 8401 | |
| 8402 static enable_Callback_ul(mthis, cap) native "WebGLRenderingContextBase_enable
_Callback_unsigned long"; | |
| 8403 | |
| 8404 static enableVertexAttribArray_Callback_ul(mthis, index) native "WebGLRenderin
gContextBase_enableVertexAttribArray_Callback_unsigned long"; | |
| 8405 | |
| 8406 static finish_Callback(mthis) native "WebGLRenderingContextBase_finish_Callbac
k"; | |
| 8407 | |
| 8408 static flush_Callback(mthis) native "WebGLRenderingContextBase_flush_Callback"
; | |
| 8409 | |
| 8410 static framebufferRenderbuffer_Callback_ul_ul_ul_WebGLRenderbuffer(mthis, targ
et, attachment, renderbuffertarget, renderbuffer) native "WebGLRenderingContextB
ase_framebufferRenderbuffer_Callback_unsigned long_unsigned long_unsigned long_W
ebGLRenderbuffer"; | |
| 8411 | |
| 8412 static framebufferTexture2D_Callback_ul_ul_ul_WebGLTexture_long(mthis, target,
attachment, textarget, texture, level) native "WebGLRenderingContextBase_frameb
ufferTexture2D_Callback_unsigned long_unsigned long_unsigned long_WebGLTexture_l
ong"; | |
| 8413 | |
| 8414 static frontFace_Callback_ul(mthis, mode) native "WebGLRenderingContextBase_fr
ontFace_Callback_unsigned long"; | |
| 8415 | |
| 8416 static generateMipmap_Callback_ul(mthis, target) native "WebGLRenderingContext
Base_generateMipmap_Callback_unsigned long"; | |
| 8417 | |
| 8418 static getActiveAttrib_Callback_WebGLProgram_ul(mthis, program, index) native
"WebGLRenderingContextBase_getActiveAttrib_Callback_WebGLProgram_unsigned long"; | |
| 8419 | |
| 8420 static getActiveUniform_Callback_WebGLProgram_ul(mthis, program, index) native
"WebGLRenderingContextBase_getActiveUniform_Callback_WebGLProgram_unsigned long
"; | |
| 8421 | |
| 8422 static getAttachedShaders_Callback_WebGLProgram(mthis, program) native "WebGLR
enderingContextBase_getAttachedShaders_Callback_WebGLProgram"; | |
| 8423 | |
| 8424 static getAttribLocation_Callback_WebGLProgram_DOMString(mthis, program, name)
native "WebGLRenderingContextBase_getAttribLocation_Callback_WebGLProgram_DOMSt
ring"; | |
| 8425 | |
| 8426 static getBufferParameter_Callback_ul_ul(mthis, target, pname) native "WebGLRe
nderingContextBase_getBufferParameter_Callback"; | |
| 8427 | |
| 8428 static getContextAttributes_Callback(mthis) native "WebGLRenderingContextBase_
getContextAttributes_Callback"; | |
| 8429 | |
| 8430 static getError_Callback(mthis) native "WebGLRenderingContextBase_getError_Cal
lback"; | |
| 8431 | |
| 8432 static getExtension_Callback_DOMString(mthis, name) native "WebGLRenderingCont
extBase_getExtension_Callback"; | |
| 8433 | |
| 8434 static getFramebufferAttachmentParameter_Callback_ul_ul_ul(mthis, target, atta
chment, pname) native "WebGLRenderingContextBase_getFramebufferAttachmentParamet
er_Callback"; | |
| 8435 | |
| 8436 static getParameter_Callback_ul(mthis, pname) native "WebGLRenderingContextBas
e_getParameter_Callback"; | |
| 8437 | |
| 8438 static getProgramInfoLog_Callback_WebGLProgram(mthis, program) native "WebGLRe
nderingContextBase_getProgramInfoLog_Callback_WebGLProgram"; | |
| 8439 | |
| 8440 static getProgramParameter_Callback_WebGLProgram_ul(mthis, program, pname) nat
ive "WebGLRenderingContextBase_getProgramParameter_Callback"; | |
| 8441 | |
| 8442 static getRenderbufferParameter_Callback_ul_ul(mthis, target, pname) native "W
ebGLRenderingContextBase_getRenderbufferParameter_Callback"; | |
| 8443 | |
| 8444 static getShaderInfoLog_Callback_WebGLShader(mthis, shader) native "WebGLRende
ringContextBase_getShaderInfoLog_Callback_WebGLShader"; | |
| 8445 | |
| 8446 static getShaderParameter_Callback_WebGLShader_ul(mthis, shader, pname) native
"WebGLRenderingContextBase_getShaderParameter_Callback"; | |
| 8447 | |
| 8448 static getShaderPrecisionFormat_Callback_ul_ul(mthis, shadertype, precisiontyp
e) native "WebGLRenderingContextBase_getShaderPrecisionFormat_Callback_unsigned
long_unsigned long"; | |
| 8449 | |
| 8450 static getShaderSource_Callback_WebGLShader(mthis, shader) native "WebGLRender
ingContextBase_getShaderSource_Callback_WebGLShader"; | |
| 8451 | |
| 8452 static getSupportedExtensions_Callback(mthis) native "WebGLRenderingContextBas
e_getSupportedExtensions_Callback"; | |
| 8453 | |
| 8454 static getTexParameter_Callback_ul_ul(mthis, target, pname) native "WebGLRende
ringContextBase_getTexParameter_Callback"; | |
| 8455 | |
| 8456 static getUniform_Callback_WebGLProgram_WebGLUniformLocation(mthis, program, l
ocation) native "WebGLRenderingContextBase_getUniform_Callback"; | |
| 8457 | |
| 8458 static getUniformLocation_Callback_WebGLProgram_DOMString(mthis, program, name
) native "WebGLRenderingContextBase_getUniformLocation_Callback_WebGLProgram_DOM
String"; | |
| 8459 | |
| 8460 static getVertexAttrib_Callback_ul_ul(mthis, index, pname) native "WebGLRender
ingContextBase_getVertexAttrib_Callback"; | |
| 8461 | |
| 8462 static getVertexAttribOffset_Callback_ul_ul(mthis, index, pname) native "WebGL
RenderingContextBase_getVertexAttribOffset_Callback_unsigned long_unsigned long"
; | |
| 8463 | |
| 8464 static hint_Callback_ul_ul(mthis, target, mode) native "WebGLRenderingContextB
ase_hint_Callback_unsigned long_unsigned long"; | |
| 8465 | |
| 8466 static isBuffer_Callback_WebGLBuffer(mthis, buffer) native "WebGLRenderingCont
extBase_isBuffer_Callback_WebGLBuffer"; | |
| 8467 | |
| 8468 static isContextLost_Callback(mthis) native "WebGLRenderingContextBase_isConte
xtLost_Callback"; | |
| 8469 | |
| 8470 static isEnabled_Callback_ul(mthis, cap) native "WebGLRenderingContextBase_isE
nabled_Callback_unsigned long"; | |
| 8471 | |
| 8472 static isFramebuffer_Callback_WebGLFramebuffer(mthis, framebuffer) native "Web
GLRenderingContextBase_isFramebuffer_Callback_WebGLFramebuffer"; | |
| 8473 | |
| 8474 static isProgram_Callback_WebGLProgram(mthis, program) native "WebGLRenderingC
ontextBase_isProgram_Callback_WebGLProgram"; | |
| 8475 | |
| 8476 static isRenderbuffer_Callback_WebGLRenderbuffer(mthis, renderbuffer) native "
WebGLRenderingContextBase_isRenderbuffer_Callback_WebGLRenderbuffer"; | |
| 8477 | |
| 8478 static isShader_Callback_WebGLShader(mthis, shader) native "WebGLRenderingCont
extBase_isShader_Callback_WebGLShader"; | |
| 8479 | |
| 8480 static isTexture_Callback_WebGLTexture(mthis, texture) native "WebGLRenderingC
ontextBase_isTexture_Callback_WebGLTexture"; | |
| 8481 | |
| 8482 static lineWidth_Callback_float(mthis, width) native "WebGLRenderingContextBas
e_lineWidth_Callback_float"; | |
| 8483 | |
| 8484 static linkProgram_Callback_WebGLProgram(mthis, program) native "WebGLRenderin
gContextBase_linkProgram_Callback_WebGLProgram"; | |
| 8485 | |
| 8486 static pixelStorei_Callback_ul_long(mthis, pname, param) native "WebGLRenderin
gContextBase_pixelStorei_Callback_unsigned long_long"; | |
| 8487 | |
| 8488 static polygonOffset_Callback_float_float(mthis, factor, units) native "WebGLR
enderingContextBase_polygonOffset_Callback_float_float"; | |
| 8489 | |
| 8490 static readPixels_Callback_long_long_long_long_ul_ul_ArrayBufferView(mthis, x,
y, width, height, format, type, pixels) native "WebGLRenderingContextBase_readP
ixels_Callback_long_long_long_long_unsigned long_unsigned long_ArrayBufferView"; | |
| 8491 | |
| 8492 static renderbufferStorage_Callback_ul_ul_long_long(mthis, target, internalfor
mat, width, height) native "WebGLRenderingContextBase_renderbufferStorage_Callba
ck_unsigned long_unsigned long_long_long"; | |
| 8493 | |
| 8494 static sampleCoverage_Callback_float_boolean(mthis, value, invert) native "Web
GLRenderingContextBase_sampleCoverage_Callback_float_boolean"; | |
| 8495 | |
| 8496 static scissor_Callback_long_long_long_long(mthis, x, y, width, height) native
"WebGLRenderingContextBase_scissor_Callback_long_long_long_long"; | |
| 8497 | |
| 8498 static shaderSource_Callback_WebGLShader_DOMString(mthis, shader, string) nati
ve "WebGLRenderingContextBase_shaderSource_Callback_WebGLShader_DOMString"; | |
| 8499 | |
| 8500 static stencilFunc_Callback_ul_long_ul(mthis, func, ref, mask) native "WebGLRe
nderingContextBase_stencilFunc_Callback_unsigned long_long_unsigned long"; | |
| 8501 | |
| 8502 static stencilFuncSeparate_Callback_ul_ul_long_ul(mthis, face, func, ref, mask
) native "WebGLRenderingContextBase_stencilFuncSeparate_Callback_unsigned long_u
nsigned long_long_unsigned long"; | |
| 8503 | |
| 8504 static stencilMask_Callback_ul(mthis, mask) native "WebGLRenderingContextBase_
stencilMask_Callback_unsigned long"; | |
| 8505 | |
| 8506 static stencilMaskSeparate_Callback_ul_ul(mthis, face, mask) native "WebGLRend
eringContextBase_stencilMaskSeparate_Callback_unsigned long_unsigned long"; | |
| 8507 | |
| 8508 static stencilOp_Callback_ul_ul_ul(mthis, fail, zfail, zpass) native "WebGLRen
deringContextBase_stencilOp_Callback_unsigned long_unsigned long_unsigned long"; | |
| 8509 | |
| 8510 static stencilOpSeparate_Callback_ul_ul_ul_ul(mthis, face, fail, zfail, zpass)
native "WebGLRenderingContextBase_stencilOpSeparate_Callback_unsigned long_unsi
gned long_unsigned long_unsigned long"; | |
| 8511 | |
| 8512 static texImage2D_Callback_ul_long_ul_long_long_long_ul_ul_ArrayBufferView(mth
is, target, level, internalformat, format_OR_width, height_OR_type, border_OR_ca
nvas_OR_image_OR_pixels_OR_video, format, type, pixels) native "WebGLRenderingCo
ntextBase_texImage2D_Callback_unsigned long_long_unsigned long_long_long_long_un
signed long_unsigned long_ArrayBufferView"; | |
| 8513 | |
| 8514 static texImage2D_Callback_ul_long_ul_ul_ul_ImageData(mthis, target, level, in
ternalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixe
ls_OR_video) native "WebGLRenderingContextBase_texImage2D_Callback_unsigned long
_long_unsigned long_unsigned long_unsigned long_ImageData"; | |
| 8515 | |
| 8516 static texImage2D_Callback_ul_long_ul_ul_ul_HTMLImageElement(mthis, target, le
vel, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_
OR_pixels_OR_video) native "WebGLRenderingContextBase_texImage2D_Callback_unsign
ed long_long_unsigned long_unsigned long_unsigned long_HTMLImageElement"; | |
| 8517 | |
| 8518 static texImage2D_Callback_ul_long_ul_ul_ul_HTMLCanvasElement(mthis, target, l
evel, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image
_OR_pixels_OR_video) native "WebGLRenderingContextBase_texImage2D_Callback_unsig
ned long_long_unsigned long_unsigned long_unsigned long_HTMLCanvasElement"; | |
| 8519 | |
| 8520 static texImage2D_Callback_ul_long_ul_ul_ul_HTMLVideoElement(mthis, target, le
vel, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_
OR_pixels_OR_video) native "WebGLRenderingContextBase_texImage2D_Callback_unsign
ed long_long_unsigned long_unsigned long_unsigned long_HTMLVideoElement"; | |
| 8521 | |
| 8522 static texParameterf_Callback_ul_ul_float(mthis, target, pname, param) native
"WebGLRenderingContextBase_texParameterf_Callback_unsigned long_unsigned long_fl
oat"; | |
| 8523 | |
| 8524 static texParameteri_Callback_ul_ul_long(mthis, target, pname, param) native "
WebGLRenderingContextBase_texParameteri_Callback_unsigned long_unsigned long_lon
g"; | |
| 8525 | |
| 8526 static texSubImage2D_Callback_ul_long_long_long_long_long_ul_ul_ArrayBufferVie
w(mthis, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canva
s_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "WebGLRenderingCon
textBase_texSubImage2D_Callback_unsigned long_long_long_long_long_long_unsigned
long_unsigned long_ArrayBufferView"; | |
| 8527 | |
| 8528 static texSubImage2D_Callback_ul_long_long_long_ul_ul_ImageData(mthis, target,
level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_i
mage_OR_pixels_OR_video) native "WebGLRenderingContextBase_texSubImage2D_Callbac
k_unsigned long_long_long_long_unsigned long_unsigned long_ImageData"; | |
| 8529 | |
| 8530 static texSubImage2D_Callback_ul_long_long_long_ul_ul_HTMLImageElement(mthis,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_form
at_OR_image_OR_pixels_OR_video) native "WebGLRenderingContextBase_texSubImage2D_
Callback_unsigned long_long_long_long_unsigned long_unsigned long_HTMLImageEleme
nt"; | |
| 8531 | |
| 8532 static texSubImage2D_Callback_ul_long_long_long_ul_ul_HTMLCanvasElement(mthis,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for
mat_OR_image_OR_pixels_OR_video) native "WebGLRenderingContextBase_texSubImage2D
_Callback_unsigned long_long_long_long_unsigned long_unsigned long_HTMLCanvasEle
ment"; | |
| 8533 | |
| 8534 static texSubImage2D_Callback_ul_long_long_long_ul_ul_HTMLVideoElement(mthis,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_form
at_OR_image_OR_pixels_OR_video) native "WebGLRenderingContextBase_texSubImage2D_
Callback_unsigned long_long_long_long_unsigned long_unsigned long_HTMLVideoEleme
nt"; | |
| 8535 | |
| 8536 static uniform1f_Callback_WebGLUniformLocation_float(mthis, location, x) nativ
e "WebGLRenderingContextBase_uniform1f_Callback_WebGLUniformLocation_float"; | |
| 8537 | |
| 8538 static uniform1fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform1fv_Callback"; | |
| 8539 | |
| 8540 static uniform1i_Callback_WebGLUniformLocation_long(mthis, location, x) native
"WebGLRenderingContextBase_uniform1i_Callback_WebGLUniformLocation_long"; | |
| 8541 | |
| 8542 static uniform1iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform1iv_Callback"; | |
| 8543 | |
| 8544 static uniform2f_Callback_WebGLUniformLocation_float_float(mthis, location, x,
y) native "WebGLRenderingContextBase_uniform2f_Callback_WebGLUniformLocation_fl
oat_float"; | |
| 8545 | |
| 8546 static uniform2fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform2fv_Callback"; | |
| 8547 | |
| 8548 static uniform2i_Callback_WebGLUniformLocation_long_long(mthis, location, x, y
) native "WebGLRenderingContextBase_uniform2i_Callback_WebGLUniformLocation_long
_long"; | |
| 8549 | |
| 8550 static uniform2iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform2iv_Callback"; | |
| 8551 | |
| 8552 static uniform3f_Callback_WebGLUniformLocation_float_float_float(mthis, locati
on, x, y, z) native "WebGLRenderingContextBase_uniform3f_Callback_WebGLUniformLo
cation_float_float_float"; | |
| 8553 | |
| 8554 static uniform3fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform3fv_Callback"; | |
| 8555 | |
| 8556 static uniform3i_Callback_WebGLUniformLocation_long_long_long(mthis, location,
x, y, z) native "WebGLRenderingContextBase_uniform3i_Callback_WebGLUniformLocat
ion_long_long_long"; | |
| 8557 | |
| 8558 static uniform3iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform3iv_Callback"; | |
| 8559 | |
| 8560 static uniform4f_Callback_WebGLUniformLocation_float_float_float_float(mthis,
location, x, y, z, w) native "WebGLRenderingContextBase_uniform4f_Callback_WebGL
UniformLocation_float_float_float_float"; | |
| 8561 | |
| 8562 static uniform4fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform4fv_Callback"; | |
| 8563 | |
| 8564 static uniform4i_Callback_WebGLUniformLocation_long_long_long_long(mthis, loca
tion, x, y, z, w) native "WebGLRenderingContextBase_uniform4i_Callback_WebGLUnif
ormLocation_long_long_long_long"; | |
| 8565 | |
| 8566 static uniform4iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform4iv_Callback"; | |
| 8567 | |
| 8568 static uniformMatrix2fv_Callback_WebGLUniformLocation_boolean_Float32Array(mth
is, location, transpose, array) native "WebGLRenderingContextBase_uniformMatrix2
fv_Callback"; | |
| 8569 | |
| 8570 static uniformMatrix3fv_Callback_WebGLUniformLocation_boolean_Float32Array(mth
is, location, transpose, array) native "WebGLRenderingContextBase_uniformMatrix3
fv_Callback"; | |
| 8571 | |
| 8572 static uniformMatrix4fv_Callback_WebGLUniformLocation_boolean_Float32Array(mth
is, location, transpose, array) native "WebGLRenderingContextBase_uniformMatrix4
fv_Callback"; | |
| 8573 | |
| 8574 static useProgram_Callback_WebGLProgram(mthis, program) native "WebGLRendering
ContextBase_useProgram_Callback_WebGLProgram"; | |
| 8575 | |
| 8576 static validateProgram_Callback_WebGLProgram(mthis, program) native "WebGLRend
eringContextBase_validateProgram_Callback_WebGLProgram"; | |
| 8577 | |
| 8578 static vertexAttrib1f_Callback_ul_float(mthis, indx, x) native "WebGLRendering
ContextBase_vertexAttrib1f_Callback_unsigned long_float"; | |
| 8579 | |
| 8580 static vertexAttrib1fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib1fv_Callback"; | |
| 8581 | |
| 8582 static vertexAttrib2f_Callback_ul_float_float(mthis, indx, x, y) native "WebGL
RenderingContextBase_vertexAttrib2f_Callback_unsigned long_float_float"; | |
| 8583 | |
| 8584 static vertexAttrib2fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib2fv_Callback"; | |
| 8585 | |
| 8586 static vertexAttrib3f_Callback_ul_float_float_float(mthis, indx, x, y, z) nati
ve "WebGLRenderingContextBase_vertexAttrib3f_Callback_unsigned long_float_float_
float"; | |
| 8587 | |
| 8588 static vertexAttrib3fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib3fv_Callback"; | |
| 8589 | |
| 8590 static vertexAttrib4f_Callback_ul_float_float_float_float(mthis, indx, x, y, z
, w) native "WebGLRenderingContextBase_vertexAttrib4f_Callback_unsigned long_flo
at_float_float_float"; | |
| 8591 | |
| 8592 static vertexAttrib4fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib4fv_Callback"; | |
| 8593 | |
| 8594 static vertexAttribPointer_Callback_ul_long_ul_boolean_long_ll(mthis, indx, si
ze, type, normalized, stride, offset) native "WebGLRenderingContextBase_vertexAt
tribPointer_Callback_unsigned long_long_unsigned long_boolean_long_long long"; | |
| 8595 | |
| 8596 static viewport_Callback_long_long_long_long(mthis, x, y, width, height) nativ
e "WebGLRenderingContextBase_viewport_Callback_long_long_long_long"; | |
| 8597 } | |
| 8598 | 8298 |
| 8599 class BlinkWebGLRenderingContext { | 8299 class BlinkWebGLRenderingContext { |
| 8600 static canvas_Getter(mthis) native "WebGLRenderingContext_canvas_Getter"; | 8300 static canvas_Getter(mthis) native "WebGLRenderingContext_canvas_Getter"; |
| 8601 | 8301 |
| 8602 static drawingBufferHeight_Getter(mthis) native "WebGLRenderingContext_drawing
BufferHeight_Getter"; | 8302 static drawingBufferHeight_Getter(mthis) native "WebGLRenderingContext_drawing
BufferHeight_Getter"; |
| 8603 | 8303 |
| 8604 static drawingBufferWidth_Getter(mthis) native "WebGLRenderingContext_drawingB
ufferWidth_Getter"; | 8304 static drawingBufferWidth_Getter(mthis) native "WebGLRenderingContext_drawingB
ufferWidth_Getter"; |
| 8605 | 8305 |
| 8606 static activeTexture_Callback_ul(mthis, texture) native "WebGLRenderingContext
_activeTexture_Callback_unsigned long"; | 8306 static activeTexture_Callback_ul(mthis, texture) native "WebGLRenderingContext
_activeTexture_Callback_unsigned long"; |
| 8607 | 8307 |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9369 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba
ck"; | 9069 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba
ck"; |
| 9370 | 9070 |
| 9371 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; | 9071 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; |
| 9372 | 9072 |
| 9373 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac
k"; | 9073 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac
k"; |
| 9374 | 9074 |
| 9375 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; | 9075 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; |
| 9376 | 9076 |
| 9377 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; | 9077 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; |
| 9378 } | 9078 } |
| OLD | NEW |