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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContextBase.idl

Issue 205243013: Got WebGLRenderingContextBase to work with the "implements" syntax (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase + Layout Test Update Created 6 years, 9 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
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...) Expand all
33 typedef long long GLintptr; 33 typedef long long GLintptr;
34 typedef long long GLsizeiptr; 34 typedef long long GLsizeiptr;
35 typedef octet GLubyte; /* 'octet' should be an unsigned 8 bit ty pe. */ 35 typedef octet GLubyte; /* 'octet' should be an unsigned 8 bit ty pe. */
36 typedef unsigned short GLushort; 36 typedef unsigned short GLushort;
37 typedef unsigned long GLuint; 37 typedef unsigned long GLuint;
38 typedef /*unrestricted*/ float GLfloat; 38 typedef /*unrestricted*/ float GLfloat;
39 typedef /*unrestricted*/ float GLclampf; 39 typedef /*unrestricted*/ float GLclampf;
40 40
41 [ 41 [
42 DoNotCheckConstants, 42 DoNotCheckConstants,
43 ImplementedInBaseClass,
44 NoInterfaceObject,
43 StrictTypeChecking, 45 StrictTypeChecking,
44 NoInterfaceObject
45 ] interface WebGLRenderingContextBase { 46 ] interface WebGLRenderingContextBase {
46 47
47 readonly attribute HTMLCanvasElement canvas; 48 readonly attribute HTMLCanvasElement canvas;
48 49
49 /* ClearBufferMask */ 50 /* ClearBufferMask */
50 const GLenum DEPTH_BUFFER_BIT = 0x00000100; 51 const GLenum DEPTH_BUFFER_BIT = 0x00000100;
51 const GLenum STENCIL_BUFFER_BIT = 0x00000400; 52 const GLenum STENCIL_BUFFER_BIT = 0x00000400;
52 const GLenum COLOR_BUFFER_BIT = 0x00004000; 53 const GLenum COLOR_BUFFER_BIT = 0x00004000;
53 54
54 /* BeginMode */ 55 /* BeginMode */
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values); 669 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values);
669 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); 670 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
670 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values); 671 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values);
671 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; 672 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ;
672 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values); 673 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values);
673 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, 674 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized,
674 GLsizei stride, GLintptr offset); 675 GLsizei stride, GLintptr offset);
675 676
676 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 677 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
677 }; 678 };
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698