Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: client/dom/generated/src/frog/WebGLRenderingContext.dart

Issue 8387057: Forgot generated code for frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class WebGLRenderingContext extends CanvasRenderingContext native "WebGLRenderin gContext" {
3
4 int drawingBufferHeight;
5
6 int drawingBufferWidth;
7
8 void activeTexture(int texture) native;
9
10 void attachShader(WebGLProgram program, WebGLShader shader) native;
11
12 void bindAttribLocation(WebGLProgram program, int index, String name) native;
13
14 void bindBuffer(int target, WebGLBuffer buffer) native;
15
16 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native;
17
18 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native;
19
20 void bindTexture(int target, WebGLTexture texture) native;
21
22 void blendColor(num red, num green, num blue, num alpha) native;
23
24 void blendEquation(int mode) native;
25
26 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
27
28 void blendFunc(int sfactor, int dfactor) native;
29
30 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
31
32 void bufferData(int target, var data_OR_size, int usage) native;
33
34 void bufferSubData(int target, int offset, var data) native;
35
36 int checkFramebufferStatus(int target) native;
37
38 void clear(int mask) native;
39
40 void clearColor(num red, num green, num blue, num alpha) native;
41
42 void clearDepth(num depth) native;
43
44 void clearStencil(int s) native;
45
46 void colorMask(bool red, bool green, bool blue, bool alpha) native;
47
48 void compileShader(WebGLShader shader) native;
49
50 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
51
52 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
53
54 WebGLBuffer createBuffer() native;
55
56 WebGLFramebuffer createFramebuffer() native;
57
58 WebGLProgram createProgram() native;
59
60 WebGLRenderbuffer createRenderbuffer() native;
61
62 WebGLShader createShader(int type) native;
63
64 WebGLTexture createTexture() native;
65
66 void cullFace(int mode) native;
67
68 void deleteBuffer(WebGLBuffer buffer) native;
69
70 void deleteFramebuffer(WebGLFramebuffer framebuffer) native;
71
72 void deleteProgram(WebGLProgram program) native;
73
74 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native;
75
76 void deleteShader(WebGLShader shader) native;
77
78 void deleteTexture(WebGLTexture texture) native;
79
80 void depthFunc(int func) native;
81
82 void depthMask(bool flag) native;
83
84 void depthRange(num zNear, num zFar) native;
85
86 void detachShader(WebGLProgram program, WebGLShader shader) native;
87
88 void disable(int cap) native;
89
90 void disableVertexAttribArray(int index) native;
91
92 void drawArrays(int mode, int first, int count) native;
93
94 void drawElements(int mode, int count, int type, int offset) native;
95
96 void enable(int cap) native;
97
98 void enableVertexAttribArray(int index) native;
99
100 void finish() native;
101
102 void flush() native;
103
104 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, WebGLRenderbuffer renderbuffer) native;
105
106 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText ure texture, int level) native;
107
108 void frontFace(int mode) native;
109
110 void generateMipmap(int target) native;
111
112 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native;
113
114 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native;
115
116 void getAttachedShaders(WebGLProgram program) native;
117
118 int getAttribLocation(WebGLProgram program, String name) native;
119
120 void getBufferParameter() native;
121
122 WebGLContextAttributes getContextAttributes() native;
123
124 int getError() native;
125
126 void getExtension(String name) native;
127
128 void getFramebufferAttachmentParameter() native;
129
130 void getParameter() native;
131
132 String getProgramInfoLog(WebGLProgram program) native;
133
134 void getProgramParameter() native;
135
136 void getRenderbufferParameter() native;
137
138 String getShaderInfoLog(WebGLShader shader) native;
139
140 void getShaderParameter() native;
141
142 String getShaderSource(WebGLShader shader) native;
143
144 void getSupportedExtensions() native;
145
146 void getTexParameter() native;
147
148 void getUniform() native;
149
150 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat ive;
151
152 void getVertexAttrib() native;
153
154 int getVertexAttribOffset(int index, int pname) native;
155
156 void hint(int target, int mode) native;
157
158 bool isBuffer(WebGLBuffer buffer) native;
159
160 bool isContextLost() native;
161
162 bool isEnabled(int cap) native;
163
164 bool isFramebuffer(WebGLFramebuffer framebuffer) native;
165
166 bool isProgram(WebGLProgram program) native;
167
168 bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native;
169
170 bool isShader(WebGLShader shader) native;
171
172 bool isTexture(WebGLTexture texture) native;
173
174 void lineWidth(num width) native;
175
176 void linkProgram(WebGLProgram program) native;
177
178 void pixelStorei(int pname, int param) native;
179
180 void polygonOffset(num factor, num units) native;
181
182 void readPixels(int x, int y, int width, int height, int format, int type, Arr ayBufferView pixels) native;
183
184 void releaseShaderCompiler() native;
185
186 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
187
188 void sampleCoverage(num value, bool invert) native;
189
190 void scissor(int x, int y, int width, int height) native;
191
192 void shaderSource(WebGLShader shader, String string) native;
193
194 void stencilFunc(int func, int ref, int mask) native;
195
196 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
197
198 void stencilMask(int mask) native;
199
200 void stencilMaskSeparate(int face, int mask) native;
201
202 void stencilOp(int fail, int zfail, int zpass) native;
203
204 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
205
206 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format = nul l, int type = null, ArrayBufferView pixels = null]) native;
207
208 void texParameterf(int target, int pname, num param) native;
209
210 void texParameteri(int target, int pname, int param) native;
211
212 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, [int typ e = null, ArrayBufferView pixels = null]) native;
213
214 void uniform1f(WebGLUniformLocation location, num x) native;
215
216 void uniform1fv(WebGLUniformLocation location, Float32Array v) native;
217
218 void uniform1i(WebGLUniformLocation location, int x) native;
219
220 void uniform1iv(WebGLUniformLocation location, Int32Array v) native;
221
222 void uniform2f(WebGLUniformLocation location, num x, num y) native;
223
224 void uniform2fv(WebGLUniformLocation location, Float32Array v) native;
225
226 void uniform2i(WebGLUniformLocation location, int x, int y) native;
227
228 void uniform2iv(WebGLUniformLocation location, Int32Array v) native;
229
230 void uniform3f(WebGLUniformLocation location, num x, num y, num z) native;
231
232 void uniform3fv(WebGLUniformLocation location, Float32Array v) native;
233
234 void uniform3i(WebGLUniformLocation location, int x, int y, int z) native;
235
236 void uniform3iv(WebGLUniformLocation location, Int32Array v) native;
237
238 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) nati ve;
239
240 void uniform4fv(WebGLUniformLocation location, Float32Array v) native;
241
242 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) nati ve;
243
244 void uniform4iv(WebGLUniformLocation location, Int32Array v) native;
245
246 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array) native;
247
248 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array) native;
249
250 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array) native;
251
252 void useProgram(WebGLProgram program) native;
253
254 void validateProgram(WebGLProgram program) native;
255
256 void vertexAttrib1f(int indx, num x) native;
257
258 void vertexAttrib1fv(int indx, Float32Array values) native;
259
260 void vertexAttrib2f(int indx, num x, num y) native;
261
262 void vertexAttrib2fv(int indx, Float32Array values) native;
263
264 void vertexAttrib3f(int indx, num x, num y, num z) native;
265
266 void vertexAttrib3fv(int indx, Float32Array values) native;
267
268 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
269
270 void vertexAttrib4fv(int indx, Float32Array values) native;
271
272 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
273
274 void viewport(int x, int y, int width, int height) native;
275 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/WebGLRenderbuffer.dart ('k') | client/dom/generated/src/frog/WebGLShader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698