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: Source/core/html/canvas/WebGLRenderingContextBase.idl

Issue 24096029: Moved the majority of WebGL functionality into WebGLRenderingContextBase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 * 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 21 matching lines...) Expand all
32 typedef long GLsizei; 32 typedef long GLsizei;
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 ] interface WebGLRenderingContext : CanvasRenderingContext { 43 NoInterfaceObject,
44 CustomToV8
45 ] interface WebGLRenderingContextBase : CanvasRenderingContext {
44 46
45 /* ClearBufferMask */ 47 /* ClearBufferMask */
46 const GLenum DEPTH_BUFFER_BIT = 0x00000100; 48 const GLenum DEPTH_BUFFER_BIT = 0x00000100;
47 const GLenum STENCIL_BUFFER_BIT = 0x00000400; 49 const GLenum STENCIL_BUFFER_BIT = 0x00000400;
48 const GLenum COLOR_BUFFER_BIT = 0x00004000; 50 const GLenum COLOR_BUFFER_BIT = 0x00004000;
49 51
50 /* BeginMode */ 52 /* BeginMode */
51 const GLenum POINTS = 0x0000; 53 const GLenum POINTS = 0x0000;
52 const GLenum LINES = 0x0001; 54 const GLenum LINES = 0x0001;
53 const GLenum LINE_LOOP = 0x0002; 55 const GLenum LINE_LOOP = 0x0002;
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 [StrictTypeChecking, Custom] void vertexAttrib2fv(GLuint indx, Float32Array values); 655 [StrictTypeChecking, Custom] void vertexAttrib2fv(GLuint indx, Float32Array values);
654 [StrictTypeChecking] void vertexAttrib3f(GLuint indx, GLfloat x, GLf loat y, GLfloat z); 656 [StrictTypeChecking] void vertexAttrib3f(GLuint indx, GLfloat x, GLf loat y, GLfloat z);
655 [StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array values); 657 [StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array values);
656 [StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLf loat y, GLfloat z, GLfloat w); 658 [StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLf loat y, GLfloat z, GLfloat w);
657 [StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array values); 659 [StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array values);
658 [StrictTypeChecking] void vertexAttribPointer(GLuint indx, GLint siz e, GLenum type, GLboolean normalized, 660 [StrictTypeChecking] void vertexAttribPointer(GLuint indx, GLint siz e, GLenum type, GLboolean normalized,
659 GLsizei stride, GLintp tr offset); 661 GLsizei stride, GLintp tr offset);
660 662
661 [StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 663 [StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
662 }; 664 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698