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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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
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 27 matching lines...) Expand all
38 typedef unsigned short GLushort; 38 typedef unsigned short GLushort;
39 typedef unsigned long GLuint; 39 typedef unsigned long GLuint;
40 typedef unrestricted float GLfloat; 40 typedef unrestricted float GLfloat;
41 typedef unrestricted float GLclampf; 41 typedef unrestricted float GLclampf;
42 42
43 [ 43 [
44 // FIXME: [DoNotCheckConstants] should be applied to members and not need to 44 // FIXME: [DoNotCheckConstants] should be applied to members and not need to
45 // be put on implementing interface 45 // be put on implementing interface
46 // DoNotCheckConstants, // need to put on implementing interface 46 // DoNotCheckConstants, // need to put on implementing interface
47 NoInterfaceObject, // Always used on target of 'implements' 47 NoInterfaceObject, // Always used on target of 'implements'
48 GarbageCollected,
49 ] interface WebGLRenderingContextBase { 48 ] interface WebGLRenderingContextBase {
50 49
51 readonly attribute HTMLCanvasElement canvas; 50 readonly attribute HTMLCanvasElement canvas;
52 51
53 /* ClearBufferMask */ 52 /* ClearBufferMask */
54 const GLenum DEPTH_BUFFER_BIT = 0x00000100; 53 const GLenum DEPTH_BUFFER_BIT = 0x00000100;
55 const GLenum STENCIL_BUFFER_BIT = 0x00000400; 54 const GLenum STENCIL_BUFFER_BIT = 0x00000400;
56 const GLenum COLOR_BUFFER_BIT = 0x00004000; 55 const GLenum COLOR_BUFFER_BIT = 0x00004000;
57 56
58 /* BeginMode */ 57 /* BeginMode */
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 void vertexAttrib3fv(GLuint indx, Float32Array values); 699 void vertexAttrib3fv(GLuint indx, Float32Array values);
701 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); 700 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values);
702 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; 701 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ;
703 void vertexAttrib4fv(GLuint indx, Float32Array values); 702 void vertexAttrib4fv(GLuint indx, Float32Array values);
704 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); 703 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values);
705 [CallWith=ScriptState] void vertexAttribPointer(GLuint indx, GLint size, GLe num type, GLboolean normalized, 704 [CallWith=ScriptState] void vertexAttribPointer(GLuint indx, GLint size, GLe num type, GLboolean normalized,
706 GLsizei stride, GLintptr off set); 705 GLsizei stride, GLintptr off set);
707 706
708 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 707 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
709 }; 708 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698