| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 [StrictTypeChecking, Custom] any getShaderParameter(in WebGLShader shade
r, in unsigned long pname) raises(DOMException); | 565 [StrictTypeChecking, Custom] any getShaderParameter(in WebGLShader shade
r, in unsigned long pname) raises(DOMException); |
| 566 #else | 566 #else |
| 567 // any getRenderbufferParameter(in unsigned long target, in unsigned lon
g pname) raises(DOMException); | 567 // any getRenderbufferParameter(in unsigned long target, in unsigned lon
g pname) raises(DOMException); |
| 568 [StrictTypeChecking, Custom] void getRenderbufferParameter(); | 568 [StrictTypeChecking, Custom] void getRenderbufferParameter(); |
| 569 // any getShaderParameter(in WebGLShader shader, in unsigned long pname)
raises(DOMException); | 569 // any getShaderParameter(in WebGLShader shader, in unsigned long pname)
raises(DOMException); |
| 570 [StrictTypeChecking, Custom] void getShaderParameter() raises(DOMExcepti
on); | 570 [StrictTypeChecking, Custom] void getShaderParameter() raises(DOMExcepti
on); |
| 571 #endif | 571 #endif |
| 572 | 572 |
| 573 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getSha
derInfoLog(in WebGLShader shader) raises(DOMException); | 573 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getSha
derInfoLog(in WebGLShader shader) raises(DOMException); |
| 574 | 574 |
| 575 // TBD | 575 [StrictTypeChecking] WebGLShaderPrecisionFormat getShaderPrecisionFormat
(in unsigned long shadertype, in unsigned long precisiontype) raises(DOMExceptio
n); |
| 576 // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiont
ype, GLint* range, GLint* precision); | |
| 577 | 576 |
| 578 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getSha
derSource(in WebGLShader shader) raises(DOMException); | 577 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getSha
derSource(in WebGLShader shader) raises(DOMException); |
| 579 | 578 |
| 580 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) | 579 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 581 [StrictTypeChecking, Custom] DOMString[] getSupportedExtensions(); | 580 [StrictTypeChecking, Custom] DOMString[] getSupportedExtensions(); |
| 582 [StrictTypeChecking, Custom] any getTexParameter(in unsigned long target
, in unsigned long pname) raises(DOMException); | 581 [StrictTypeChecking, Custom] any getTexParameter(in unsigned long target
, in unsigned long pname) raises(DOMException); |
| 583 [StrictTypeChecking, Custom] any getUniform(in WebGLProgram program, in
WebGLUniformLocation location) raises(DOMException); | 582 [StrictTypeChecking, Custom] any getUniform(in WebGLProgram program, in
WebGLUniformLocation location) raises(DOMException); |
| 584 #else | 583 #else |
| 585 // DOMString[] getSupportedExtensions() | 584 // DOMString[] getSupportedExtensions() |
| 586 [StrictTypeChecking, Custom] void getSupportedExtensions(); | 585 [StrictTypeChecking, Custom] void getSupportedExtensions(); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 [StrictTypeChecking, Custom] void vertexAttrib3fv(in unsigned lo
ng indx, in Float32Array values); | 693 [StrictTypeChecking, Custom] void vertexAttrib3fv(in unsigned lo
ng indx, in Float32Array values); |
| 695 [StrictTypeChecking] void vertexAttrib4f(in unsigned long indx,
in float x, in float y, in float z, in float w); | 694 [StrictTypeChecking] void vertexAttrib4f(in unsigned long indx,
in float x, in float y, in float z, in float w); |
| 696 [StrictTypeChecking, Custom] void vertexAttrib4fv(in unsigned lo
ng indx, in Float32Array values); | 695 [StrictTypeChecking, Custom] void vertexAttrib4fv(in unsigned lo
ng indx, in Float32Array values); |
| 697 [StrictTypeChecking] void vertexAttribPointer(in unsigned long i
ndx, in long size, in unsigned long type, in boolean normalized, | 696 [StrictTypeChecking] void vertexAttribPointer(in unsigned long i
ndx, in long size, in unsigned long type, in boolean normalized, |
| 698 in long stride, in
long offset) raises(DOMException); | 697 in long stride, in
long offset) raises(DOMException); |
| 699 | 698 |
| 700 [StrictTypeChecking] void viewport(in long x, in long y, in long
width, in long height); | 699 [StrictTypeChecking] void viewport(in long x, in long y, in long
width, in long height); |
| 701 }; | 700 }; |
| 702 } | 701 } |
| 703 | 702 |
| OLD | NEW |