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 7561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7572 static parentNode_Callback(mthis) native "TreeWalker_parentNode_Callback"; | 7572 static parentNode_Callback(mthis) native "TreeWalker_parentNode_Callback"; |
7573 | 7573 |
7574 static previousNode_Callback(mthis) native "TreeWalker_previousNode_Callback"; | 7574 static previousNode_Callback(mthis) native "TreeWalker_previousNode_Callback"; |
7575 | 7575 |
7576 static previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Call
back"; | 7576 static previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Call
back"; |
7577 } | 7577 } |
7578 | 7578 |
7579 class BlinkURL { | 7579 class BlinkURL { |
7580 static createObjectURL_Callback_Blob(blob_OR_source_OR_stream) native "URL_cre
ateObjectURL_Callback_Blob"; | 7580 static createObjectURL_Callback_Blob(blob_OR_source_OR_stream) native "URL_cre
ateObjectURL_Callback_Blob"; |
7581 | 7581 |
| 7582 static createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaSource"; |
| 7583 |
7582 static createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaStream"; | 7584 static createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaStream"; |
7583 | 7585 |
7584 static createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream) native "
URL_createObjectURL_Callback_MediaSource"; | |
7585 | |
7586 static revokeObjectURL_Callback_DOMString(url) native "URL_revokeObjectURL_Cal
lback_DOMString"; | 7586 static revokeObjectURL_Callback_DOMString(url) native "URL_revokeObjectURL_Cal
lback_DOMString"; |
7587 | 7587 |
7588 static hash_Getter(mthis) native "URL_hash_Getter"; | 7588 static hash_Getter(mthis) native "URL_hash_Getter"; |
7589 | 7589 |
7590 static hash_Setter_DOMString(mthis, value) native "URL_hash_Setter"; | 7590 static hash_Setter_DOMString(mthis, value) native "URL_hash_Setter"; |
7591 | 7591 |
7592 static host_Getter(mthis) native "URL_host_Getter"; | 7592 static host_Getter(mthis) native "URL_host_Getter"; |
7593 | 7593 |
7594 static host_Setter_DOMString(mthis, value) native "URL_host_Setter"; | 7594 static host_Setter_DOMString(mthis, value) native "URL_host_Setter"; |
7595 | 7595 |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7867 class BlinkWebGLLoseContext { | 7867 class BlinkWebGLLoseContext { |
7868 static loseContext_Callback(mthis) native "WebGLLoseContext_loseContext_Callba
ck"; | 7868 static loseContext_Callback(mthis) native "WebGLLoseContext_loseContext_Callba
ck"; |
7869 | 7869 |
7870 static restoreContext_Callback(mthis) native "WebGLLoseContext_restoreContext_
Callback"; | 7870 static restoreContext_Callback(mthis) native "WebGLLoseContext_restoreContext_
Callback"; |
7871 } | 7871 } |
7872 | 7872 |
7873 class BlinkWebGLProgram {} | 7873 class BlinkWebGLProgram {} |
7874 | 7874 |
7875 class BlinkWebGLRenderbuffer {} | 7875 class BlinkWebGLRenderbuffer {} |
7876 | 7876 |
7877 class BlinkWebGLRenderingContextBase { | 7877 class BlinkWebGLRenderingContextBase {} |
7878 static canvas_Getter(mthis) native "WebGLRenderingContextBase_canvas_Getter"; | |
7879 | |
7880 static drawingBufferHeight_Getter(mthis) native "WebGLRenderingContextBase_dra
wingBufferHeight_Getter"; | |
7881 | |
7882 static drawingBufferWidth_Getter(mthis) native "WebGLRenderingContextBase_draw
ingBufferWidth_Getter"; | |
7883 | |
7884 static activeTexture_Callback_ul(mthis, texture) native "WebGLRenderingContext
Base_activeTexture_Callback_unsigned long"; | |
7885 | |
7886 static attachShader_Callback_WebGLProgram_WebGLShader(mthis, program, shader)
native "WebGLRenderingContextBase_attachShader_Callback_WebGLProgram_WebGLShader
"; | |
7887 | |
7888 static bindAttribLocation_Callback_WebGLProgram_ul_DOMString(mthis, program, i
ndex, name) native "WebGLRenderingContextBase_bindAttribLocation_Callback_WebGLP
rogram_unsigned long_DOMString"; | |
7889 | |
7890 static bindBuffer_Callback_ul_WebGLBuffer(mthis, target, buffer) native "WebGL
RenderingContextBase_bindBuffer_Callback_unsigned long_WebGLBuffer"; | |
7891 | |
7892 static bindFramebuffer_Callback_ul_WebGLFramebuffer(mthis, target, framebuffer
) native "WebGLRenderingContextBase_bindFramebuffer_Callback_unsigned long_WebGL
Framebuffer"; | |
7893 | |
7894 static bindRenderbuffer_Callback_ul_WebGLRenderbuffer(mthis, target, renderbuf
fer) native "WebGLRenderingContextBase_bindRenderbuffer_Callback_unsigned long_W
ebGLRenderbuffer"; | |
7895 | |
7896 static bindTexture_Callback_ul_WebGLTexture(mthis, target, texture) native "We
bGLRenderingContextBase_bindTexture_Callback_unsigned long_WebGLTexture"; | |
7897 | |
7898 static blendColor_Callback_float_float_float_float(mthis, red, green, blue, al
pha) native "WebGLRenderingContextBase_blendColor_Callback_float_float_float_flo
at"; | |
7899 | |
7900 static blendEquation_Callback_ul(mthis, mode) native "WebGLRenderingContextBas
e_blendEquation_Callback_unsigned long"; | |
7901 | |
7902 static blendEquationSeparate_Callback_ul_ul(mthis, modeRGB, modeAlpha) native
"WebGLRenderingContextBase_blendEquationSeparate_Callback_unsigned long_unsigned
long"; | |
7903 | |
7904 static blendFunc_Callback_ul_ul(mthis, sfactor, dfactor) native "WebGLRenderin
gContextBase_blendFunc_Callback_unsigned long_unsigned long"; | |
7905 | |
7906 static blendFuncSeparate_Callback_ul_ul_ul_ul(mthis, srcRGB, dstRGB, srcAlpha,
dstAlpha) native "WebGLRenderingContextBase_blendFuncSeparate_Callback_unsigned
long_unsigned long_unsigned long_unsigned long"; | |
7907 | |
7908 static bufferData_Callback_ul_ArrayBuffer_ul(mthis, target, data, usage) nativ
e "WebGLRenderingContextBase_bufferData_Callback_unsigned long_ArrayBuffer_unsig
ned long"; | |
7909 | |
7910 static bufferData_Callback_ul_ll_ul(mthis, target, data_OR_size, usage) native
"WebGLRenderingContextBase_bufferData_Callback_unsigned long_long long_unsigned
long"; | |
7911 | |
7912 static bufferData_Callback_ul_ArrayBufferView_ul(mthis, target, data_OR_size,
usage) native "WebGLRenderingContextBase_bufferData_Callback_unsigned long_Array
BufferView_unsigned long"; | |
7913 | |
7914 static bufferSubData_Callback_ul_ll_ArrayBuffer(mthis, target, offset, data) n
ative "WebGLRenderingContextBase_bufferSubData_Callback_unsigned long_long long_
ArrayBuffer"; | |
7915 | |
7916 static bufferSubData_Callback_ul_ll_ArrayBufferView(mthis, target, offset, dat
a) native "WebGLRenderingContextBase_bufferSubData_Callback_unsigned long_long l
ong_ArrayBufferView"; | |
7917 | |
7918 static checkFramebufferStatus_Callback_ul(mthis, target) native "WebGLRenderin
gContextBase_checkFramebufferStatus_Callback_unsigned long"; | |
7919 | |
7920 static clear_Callback_ul(mthis, mask) native "WebGLRenderingContextBase_clear_
Callback_unsigned long"; | |
7921 | |
7922 static clearColor_Callback_float_float_float_float(mthis, red, green, blue, al
pha) native "WebGLRenderingContextBase_clearColor_Callback_float_float_float_flo
at"; | |
7923 | |
7924 static clearDepth_Callback_float(mthis, depth) native "WebGLRenderingContextBa
se_clearDepth_Callback_float"; | |
7925 | |
7926 static clearStencil_Callback_long(mthis, s) native "WebGLRenderingContextBase_
clearStencil_Callback_long"; | |
7927 | |
7928 static colorMask_Callback_boolean_boolean_boolean_boolean(mthis, red, green, b
lue, alpha) native "WebGLRenderingContextBase_colorMask_Callback_boolean_boolean
_boolean_boolean"; | |
7929 | |
7930 static compileShader_Callback_WebGLShader(mthis, shader) native "WebGLRenderin
gContextBase_compileShader_Callback_WebGLShader"; | |
7931 | |
7932 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"; | |
7933 | |
7934 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"; | |
7935 | |
7936 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"; | |
7937 | |
7938 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"; | |
7939 | |
7940 static createBuffer_Callback(mthis) native "WebGLRenderingContextBase_createBu
ffer_Callback"; | |
7941 | |
7942 static createFramebuffer_Callback(mthis) native "WebGLRenderingContextBase_cre
ateFramebuffer_Callback"; | |
7943 | |
7944 static createProgram_Callback(mthis) native "WebGLRenderingContextBase_createP
rogram_Callback"; | |
7945 | |
7946 static createRenderbuffer_Callback(mthis) native "WebGLRenderingContextBase_cr
eateRenderbuffer_Callback"; | |
7947 | |
7948 static createShader_Callback_ul(mthis, type) native "WebGLRenderingContextBase
_createShader_Callback_unsigned long"; | |
7949 | |
7950 static createTexture_Callback(mthis) native "WebGLRenderingContextBase_createT
exture_Callback"; | |
7951 | |
7952 static cullFace_Callback_ul(mthis, mode) native "WebGLRenderingContextBase_cul
lFace_Callback_unsigned long"; | |
7953 | |
7954 static deleteBuffer_Callback_WebGLBuffer(mthis, buffer) native "WebGLRendering
ContextBase_deleteBuffer_Callback_WebGLBuffer"; | |
7955 | |
7956 static deleteFramebuffer_Callback_WebGLFramebuffer(mthis, framebuffer) native
"WebGLRenderingContextBase_deleteFramebuffer_Callback_WebGLFramebuffer"; | |
7957 | |
7958 static deleteProgram_Callback_WebGLProgram(mthis, program) native "WebGLRender
ingContextBase_deleteProgram_Callback_WebGLProgram"; | |
7959 | |
7960 static deleteRenderbuffer_Callback_WebGLRenderbuffer(mthis, renderbuffer) nati
ve "WebGLRenderingContextBase_deleteRenderbuffer_Callback_WebGLRenderbuffer"; | |
7961 | |
7962 static deleteShader_Callback_WebGLShader(mthis, shader) native "WebGLRendering
ContextBase_deleteShader_Callback_WebGLShader"; | |
7963 | |
7964 static deleteTexture_Callback_WebGLTexture(mthis, texture) native "WebGLRender
ingContextBase_deleteTexture_Callback_WebGLTexture"; | |
7965 | |
7966 static depthFunc_Callback_ul(mthis, func) native "WebGLRenderingContextBase_de
pthFunc_Callback_unsigned long"; | |
7967 | |
7968 static depthMask_Callback_boolean(mthis, flag) native "WebGLRenderingContextBa
se_depthMask_Callback_boolean"; | |
7969 | |
7970 static depthRange_Callback_float_float(mthis, zNear, zFar) native "WebGLRender
ingContextBase_depthRange_Callback_float_float"; | |
7971 | |
7972 static detachShader_Callback_WebGLProgram_WebGLShader(mthis, program, shader)
native "WebGLRenderingContextBase_detachShader_Callback_WebGLProgram_WebGLShader
"; | |
7973 | |
7974 static disable_Callback_ul(mthis, cap) native "WebGLRenderingContextBase_disab
le_Callback_unsigned long"; | |
7975 | |
7976 static disableVertexAttribArray_Callback_ul(mthis, index) native "WebGLRenderi
ngContextBase_disableVertexAttribArray_Callback_unsigned long"; | |
7977 | |
7978 static drawArrays_Callback_ul_long_long(mthis, mode, first, count) native "Web
GLRenderingContextBase_drawArrays_Callback_unsigned long_long_long"; | |
7979 | |
7980 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"; | |
7981 | |
7982 static enable_Callback_ul(mthis, cap) native "WebGLRenderingContextBase_enable
_Callback_unsigned long"; | |
7983 | |
7984 static enableVertexAttribArray_Callback_ul(mthis, index) native "WebGLRenderin
gContextBase_enableVertexAttribArray_Callback_unsigned long"; | |
7985 | |
7986 static finish_Callback(mthis) native "WebGLRenderingContextBase_finish_Callbac
k"; | |
7987 | |
7988 static flush_Callback(mthis) native "WebGLRenderingContextBase_flush_Callback"
; | |
7989 | |
7990 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"; | |
7991 | |
7992 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"; | |
7993 | |
7994 static frontFace_Callback_ul(mthis, mode) native "WebGLRenderingContextBase_fr
ontFace_Callback_unsigned long"; | |
7995 | |
7996 static generateMipmap_Callback_ul(mthis, target) native "WebGLRenderingContext
Base_generateMipmap_Callback_unsigned long"; | |
7997 | |
7998 static getActiveAttrib_Callback_WebGLProgram_ul(mthis, program, index) native
"WebGLRenderingContextBase_getActiveAttrib_Callback_WebGLProgram_unsigned long"; | |
7999 | |
8000 static getActiveUniform_Callback_WebGLProgram_ul(mthis, program, index) native
"WebGLRenderingContextBase_getActiveUniform_Callback_WebGLProgram_unsigned long
"; | |
8001 | |
8002 static getAttachedShaders_Callback_WebGLProgram(mthis, program) native "WebGLR
enderingContextBase_getAttachedShaders_Callback"; | |
8003 | |
8004 static getAttribLocation_Callback_WebGLProgram_DOMString(mthis, program, name)
native "WebGLRenderingContextBase_getAttribLocation_Callback_WebGLProgram_DOMSt
ring"; | |
8005 | |
8006 static getBufferParameter_Callback_ul_ul(mthis, target, pname) native "WebGLRe
nderingContextBase_getBufferParameter_Callback"; | |
8007 | |
8008 static getContextAttributes_Callback(mthis) native "WebGLRenderingContextBase_
getContextAttributes_Callback"; | |
8009 | |
8010 static getError_Callback(mthis) native "WebGLRenderingContextBase_getError_Cal
lback"; | |
8011 | |
8012 static getExtension_Callback_DOMString(mthis, name) native "WebGLRenderingCont
extBase_getExtension_Callback"; | |
8013 | |
8014 static getFramebufferAttachmentParameter_Callback_ul_ul_ul(mthis, target, atta
chment, pname) native "WebGLRenderingContextBase_getFramebufferAttachmentParamet
er_Callback"; | |
8015 | |
8016 static getParameter_Callback_ul(mthis, pname) native "WebGLRenderingContextBas
e_getParameter_Callback"; | |
8017 | |
8018 static getProgramInfoLog_Callback_WebGLProgram(mthis, program) native "WebGLRe
nderingContextBase_getProgramInfoLog_Callback_WebGLProgram"; | |
8019 | |
8020 static getProgramParameter_Callback_WebGLProgram_ul(mthis, program, pname) nat
ive "WebGLRenderingContextBase_getProgramParameter_Callback"; | |
8021 | |
8022 static getRenderbufferParameter_Callback_ul_ul(mthis, target, pname) native "W
ebGLRenderingContextBase_getRenderbufferParameter_Callback"; | |
8023 | |
8024 static getShaderInfoLog_Callback_WebGLShader(mthis, shader) native "WebGLRende
ringContextBase_getShaderInfoLog_Callback_WebGLShader"; | |
8025 | |
8026 static getShaderParameter_Callback_WebGLShader_ul(mthis, shader, pname) native
"WebGLRenderingContextBase_getShaderParameter_Callback"; | |
8027 | |
8028 static getShaderPrecisionFormat_Callback_ul_ul(mthis, shadertype, precisiontyp
e) native "WebGLRenderingContextBase_getShaderPrecisionFormat_Callback_unsigned
long_unsigned long"; | |
8029 | |
8030 static getShaderSource_Callback_WebGLShader(mthis, shader) native "WebGLRender
ingContextBase_getShaderSource_Callback_WebGLShader"; | |
8031 | |
8032 static getSupportedExtensions_Callback(mthis) native "WebGLRenderingContextBas
e_getSupportedExtensions_Callback"; | |
8033 | |
8034 static getTexParameter_Callback_ul_ul(mthis, target, pname) native "WebGLRende
ringContextBase_getTexParameter_Callback"; | |
8035 | |
8036 static getUniform_Callback_WebGLProgram_WebGLUniformLocation(mthis, program, l
ocation) native "WebGLRenderingContextBase_getUniform_Callback"; | |
8037 | |
8038 static getUniformLocation_Callback_WebGLProgram_DOMString(mthis, program, name
) native "WebGLRenderingContextBase_getUniformLocation_Callback_WebGLProgram_DOM
String"; | |
8039 | |
8040 static getVertexAttrib_Callback_ul_ul(mthis, index, pname) native "WebGLRender
ingContextBase_getVertexAttrib_Callback"; | |
8041 | |
8042 static getVertexAttribOffset_Callback_ul_ul(mthis, index, pname) native "WebGL
RenderingContextBase_getVertexAttribOffset_Callback_unsigned long_unsigned long"
; | |
8043 | |
8044 static hint_Callback_ul_ul(mthis, target, mode) native "WebGLRenderingContextB
ase_hint_Callback_unsigned long_unsigned long"; | |
8045 | |
8046 static isBuffer_Callback_WebGLBuffer(mthis, buffer) native "WebGLRenderingCont
extBase_isBuffer_Callback_WebGLBuffer"; | |
8047 | |
8048 static isContextLost_Callback(mthis) native "WebGLRenderingContextBase_isConte
xtLost_Callback"; | |
8049 | |
8050 static isEnabled_Callback_ul(mthis, cap) native "WebGLRenderingContextBase_isE
nabled_Callback_unsigned long"; | |
8051 | |
8052 static isFramebuffer_Callback_WebGLFramebuffer(mthis, framebuffer) native "Web
GLRenderingContextBase_isFramebuffer_Callback_WebGLFramebuffer"; | |
8053 | |
8054 static isProgram_Callback_WebGLProgram(mthis, program) native "WebGLRenderingC
ontextBase_isProgram_Callback_WebGLProgram"; | |
8055 | |
8056 static isRenderbuffer_Callback_WebGLRenderbuffer(mthis, renderbuffer) native "
WebGLRenderingContextBase_isRenderbuffer_Callback_WebGLRenderbuffer"; | |
8057 | |
8058 static isShader_Callback_WebGLShader(mthis, shader) native "WebGLRenderingCont
extBase_isShader_Callback_WebGLShader"; | |
8059 | |
8060 static isTexture_Callback_WebGLTexture(mthis, texture) native "WebGLRenderingC
ontextBase_isTexture_Callback_WebGLTexture"; | |
8061 | |
8062 static lineWidth_Callback_float(mthis, width) native "WebGLRenderingContextBas
e_lineWidth_Callback_float"; | |
8063 | |
8064 static linkProgram_Callback_WebGLProgram(mthis, program) native "WebGLRenderin
gContextBase_linkProgram_Callback_WebGLProgram"; | |
8065 | |
8066 static pixelStorei_Callback_ul_long(mthis, pname, param) native "WebGLRenderin
gContextBase_pixelStorei_Callback_unsigned long_long"; | |
8067 | |
8068 static polygonOffset_Callback_float_float(mthis, factor, units) native "WebGLR
enderingContextBase_polygonOffset_Callback_float_float"; | |
8069 | |
8070 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"; | |
8071 | |
8072 static renderbufferStorage_Callback_ul_ul_long_long(mthis, target, internalfor
mat, width, height) native "WebGLRenderingContextBase_renderbufferStorage_Callba
ck_unsigned long_unsigned long_long_long"; | |
8073 | |
8074 static sampleCoverage_Callback_float_boolean(mthis, value, invert) native "Web
GLRenderingContextBase_sampleCoverage_Callback_float_boolean"; | |
8075 | |
8076 static scissor_Callback_long_long_long_long(mthis, x, y, width, height) native
"WebGLRenderingContextBase_scissor_Callback_long_long_long_long"; | |
8077 | |
8078 static shaderSource_Callback_WebGLShader_DOMString(mthis, shader, string) nati
ve "WebGLRenderingContextBase_shaderSource_Callback_WebGLShader_DOMString"; | |
8079 | |
8080 static stencilFunc_Callback_ul_long_ul(mthis, func, ref, mask) native "WebGLRe
nderingContextBase_stencilFunc_Callback_unsigned long_long_unsigned long"; | |
8081 | |
8082 static stencilFuncSeparate_Callback_ul_ul_long_ul(mthis, face, func, ref, mask
) native "WebGLRenderingContextBase_stencilFuncSeparate_Callback_unsigned long_u
nsigned long_long_unsigned long"; | |
8083 | |
8084 static stencilMask_Callback_ul(mthis, mask) native "WebGLRenderingContextBase_
stencilMask_Callback_unsigned long"; | |
8085 | |
8086 static stencilMaskSeparate_Callback_ul_ul(mthis, face, mask) native "WebGLRend
eringContextBase_stencilMaskSeparate_Callback_unsigned long_unsigned long"; | |
8087 | |
8088 static stencilOp_Callback_ul_ul_ul(mthis, fail, zfail, zpass) native "WebGLRen
deringContextBase_stencilOp_Callback_unsigned long_unsigned long_unsigned long"; | |
8089 | |
8090 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"; | |
8091 | |
8092 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"; | |
8093 | |
8094 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"; | |
8095 | |
8096 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"; | |
8097 | |
8098 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"; | |
8099 | |
8100 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"; | |
8101 | |
8102 static texParameterf_Callback_ul_ul_float(mthis, target, pname, param) native
"WebGLRenderingContextBase_texParameterf_Callback_unsigned long_unsigned long_fl
oat"; | |
8103 | |
8104 static texParameteri_Callback_ul_ul_long(mthis, target, pname, param) native "
WebGLRenderingContextBase_texParameteri_Callback_unsigned long_unsigned long_lon
g"; | |
8105 | |
8106 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"; | |
8107 | |
8108 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"; | |
8109 | |
8110 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"; | |
8111 | |
8112 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"; | |
8113 | |
8114 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"; | |
8115 | |
8116 static uniform1f_Callback_WebGLUniformLocation_float(mthis, location, x) nativ
e "WebGLRenderingContextBase_uniform1f_Callback_WebGLUniformLocation_float"; | |
8117 | |
8118 static uniform1fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform1fv_Callback"; | |
8119 | |
8120 static uniform1i_Callback_WebGLUniformLocation_long(mthis, location, x) native
"WebGLRenderingContextBase_uniform1i_Callback_WebGLUniformLocation_long"; | |
8121 | |
8122 static uniform1iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform1iv_Callback"; | |
8123 | |
8124 static uniform2f_Callback_WebGLUniformLocation_float_float(mthis, location, x,
y) native "WebGLRenderingContextBase_uniform2f_Callback_WebGLUniformLocation_fl
oat_float"; | |
8125 | |
8126 static uniform2fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform2fv_Callback"; | |
8127 | |
8128 static uniform2i_Callback_WebGLUniformLocation_long_long(mthis, location, x, y
) native "WebGLRenderingContextBase_uniform2i_Callback_WebGLUniformLocation_long
_long"; | |
8129 | |
8130 static uniform2iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform2iv_Callback"; | |
8131 | |
8132 static uniform3f_Callback_WebGLUniformLocation_float_float_float(mthis, locati
on, x, y, z) native "WebGLRenderingContextBase_uniform3f_Callback_WebGLUniformLo
cation_float_float_float"; | |
8133 | |
8134 static uniform3fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform3fv_Callback"; | |
8135 | |
8136 static uniform3i_Callback_WebGLUniformLocation_long_long_long(mthis, location,
x, y, z) native "WebGLRenderingContextBase_uniform3i_Callback_WebGLUniformLocat
ion_long_long_long"; | |
8137 | |
8138 static uniform3iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform3iv_Callback"; | |
8139 | |
8140 static uniform4f_Callback_WebGLUniformLocation_float_float_float_float(mthis,
location, x, y, z, w) native "WebGLRenderingContextBase_uniform4f_Callback_WebGL
UniformLocation_float_float_float_float"; | |
8141 | |
8142 static uniform4fv_Callback_WebGLUniformLocation_Float32Array(mthis, location,
v) native "WebGLRenderingContextBase_uniform4fv_Callback"; | |
8143 | |
8144 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"; | |
8145 | |
8146 static uniform4iv_Callback_WebGLUniformLocation_Int32Array(mthis, location, v)
native "WebGLRenderingContextBase_uniform4iv_Callback"; | |
8147 | |
8148 static uniformMatrix2fv_Callback_WebGLUniformLocation_boolean_Float32Array(mth
is, location, transpose, array) native "WebGLRenderingContextBase_uniformMatrix2
fv_Callback"; | |
8149 | |
8150 static uniformMatrix3fv_Callback_WebGLUniformLocation_boolean_Float32Array(mth
is, location, transpose, array) native "WebGLRenderingContextBase_uniformMatrix3
fv_Callback"; | |
8151 | |
8152 static uniformMatrix4fv_Callback_WebGLUniformLocation_boolean_Float32Array(mth
is, location, transpose, array) native "WebGLRenderingContextBase_uniformMatrix4
fv_Callback"; | |
8153 | |
8154 static useProgram_Callback_WebGLProgram(mthis, program) native "WebGLRendering
ContextBase_useProgram_Callback_WebGLProgram"; | |
8155 | |
8156 static validateProgram_Callback_WebGLProgram(mthis, program) native "WebGLRend
eringContextBase_validateProgram_Callback_WebGLProgram"; | |
8157 | |
8158 static vertexAttrib1f_Callback_ul_float(mthis, indx, x) native "WebGLRendering
ContextBase_vertexAttrib1f_Callback_unsigned long_float"; | |
8159 | |
8160 static vertexAttrib1fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib1fv_Callback"; | |
8161 | |
8162 static vertexAttrib2f_Callback_ul_float_float(mthis, indx, x, y) native "WebGL
RenderingContextBase_vertexAttrib2f_Callback_unsigned long_float_float"; | |
8163 | |
8164 static vertexAttrib2fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib2fv_Callback"; | |
8165 | |
8166 static vertexAttrib3f_Callback_ul_float_float_float(mthis, indx, x, y, z) nati
ve "WebGLRenderingContextBase_vertexAttrib3f_Callback_unsigned long_float_float_
float"; | |
8167 | |
8168 static vertexAttrib3fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib3fv_Callback"; | |
8169 | |
8170 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"; | |
8171 | |
8172 static vertexAttrib4fv_Callback_ul_Float32Array(mthis, indx, values) native "W
ebGLRenderingContextBase_vertexAttrib4fv_Callback"; | |
8173 | |
8174 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"; | |
8175 | |
8176 static viewport_Callback_long_long_long_long(mthis, x, y, width, height) nativ
e "WebGLRenderingContextBase_viewport_Callback_long_long_long_long"; | |
8177 } | |
8178 | 7878 |
8179 class BlinkWebGLRenderingContext { | 7879 class BlinkWebGLRenderingContext { |
8180 static canvas_Getter(mthis) native "WebGLRenderingContext_canvas_Getter"; | 7880 static canvas_Getter(mthis) native "WebGLRenderingContext_canvas_Getter"; |
8181 | 7881 |
8182 static drawingBufferHeight_Getter(mthis) native "WebGLRenderingContext_drawing
BufferHeight_Getter"; | 7882 static drawingBufferHeight_Getter(mthis) native "WebGLRenderingContext_drawing
BufferHeight_Getter"; |
8183 | 7883 |
8184 static drawingBufferWidth_Getter(mthis) native "WebGLRenderingContext_drawingB
ufferWidth_Getter"; | 7884 static drawingBufferWidth_Getter(mthis) native "WebGLRenderingContext_drawingB
ufferWidth_Getter"; |
8185 | 7885 |
8186 static activeTexture_Callback_ul(mthis, texture) native "WebGLRenderingContext
_activeTexture_Callback_unsigned long"; | 7886 static activeTexture_Callback_ul(mthis, texture) native "WebGLRenderingContext
_activeTexture_Callback_unsigned long"; |
8187 | 7887 |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8953 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba
ck"; | 8653 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba
ck"; |
8954 | 8654 |
8955 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; | 8655 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; |
8956 | 8656 |
8957 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac
k"; | 8657 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac
k"; |
8958 | 8658 |
8959 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; | 8659 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; |
8960 | 8660 |
8961 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; | 8661 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; |
8962 } | 8662 } |
OLD | NEW |