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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 10 months 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
1 1
2 class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG LRenderingContext native "*WebGLRenderingContext" { 2 class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG LRenderingContext native "*WebGLRenderingContext" {
3 3
4 static final int ACTIVE_ATTRIBUTES = 0x8B89; 4 static final int ACTIVE_ATTRIBUTES = 0x8B89;
5 5
6 static final int ACTIVE_TEXTURE = 0x84E0; 6 static final int ACTIVE_TEXTURE = 0x84E0;
7 7
8 static final int ACTIVE_UNIFORMS = 0x8B86; 8 static final int ACTIVE_UNIFORMS = 0x8B86;
9 9
10 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E; 10 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 588 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
589 589
590 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 590 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
591 591
592 static final int VERTEX_SHADER = 0x8B31; 592 static final int VERTEX_SHADER = 0x8B31;
593 593
594 static final int VIEWPORT = 0x0BA2; 594 static final int VIEWPORT = 0x0BA2;
595 595
596 static final int ZERO = 0; 596 static final int ZERO = 0;
597 597
598 int get drawingBufferHeight() native "return this.drawingBufferHeight;"; 598 final int drawingBufferHeight;
599 599
600 int get drawingBufferWidth() native "return this.drawingBufferWidth;"; 600 final int drawingBufferWidth;
601 601
602 void activeTexture(int texture) native; 602 void activeTexture(int texture) native;
603 603
604 void attachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native; 604 void attachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native;
605 605
606 void bindAttribLocation(_WebGLProgramJs program, int index, String name) nativ e; 606 void bindAttribLocation(_WebGLProgramJs program, int index, String name) nativ e;
607 607
608 void bindBuffer(int target, _WebGLBufferJs buffer) native; 608 void bindBuffer(int target, _WebGLBufferJs buffer) native;
609 609
610 void bindFramebuffer(int target, _WebGLFramebufferJs framebuffer) native; 610 void bindFramebuffer(int target, _WebGLFramebufferJs framebuffer) native;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 void vertexAttrib3fv(int indx, _Float32ArrayJs values) native; 862 void vertexAttrib3fv(int indx, _Float32ArrayJs values) native;
863 863
864 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; 864 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
865 865
866 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native; 866 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native;
867 867
868 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native; 868 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
869 869
870 void viewport(int x, int y, int width, int height) native; 870 void viewport(int x, int y, int width, int height) native;
871 } 871 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698