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

Side by Side Diff: sky/engine/core/html/canvas/WebGLRenderingContextBase.idl

Issue 701663002: Remove HTMLVideoElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 GLenum format, GLenum type, ArrayBufferView? pixels); 622 GLenum format, GLenum type, ArrayBufferView? pixels);
623 [RaisesException] void texImage2D( 623 [RaisesException] void texImage2D(
624 GLenum target, GLint level, GLenum internalformat, 624 GLenum target, GLint level, GLenum internalformat,
625 GLenum format, GLenum type, ImageData? pixels); 625 GLenum format, GLenum type, ImageData? pixels);
626 [RaisesException] void texImage2D( 626 [RaisesException] void texImage2D(
627 GLenum target, GLint level, GLenum internalformat, 627 GLenum target, GLint level, GLenum internalformat,
628 GLenum format, GLenum type, HTMLImageElement image); 628 GLenum format, GLenum type, HTMLImageElement image);
629 [RaisesException] void texImage2D( 629 [RaisesException] void texImage2D(
630 GLenum target, GLint level, GLenum internalformat, 630 GLenum target, GLint level, GLenum internalformat,
631 GLenum format, GLenum type, HTMLCanvasElement canvas); 631 GLenum format, GLenum type, HTMLCanvasElement canvas);
632 [RaisesException] void texImage2D(
633 GLenum target, GLint level, GLenum internalformat,
634 GLenum format, GLenum type, HTMLVideoElement video);
635 632
636 [RaisesException] void texSubImage2D( 633 [RaisesException] void texSubImage2D(
637 GLenum target, GLint level, GLint xoffset, GLint yoffset, 634 GLenum target, GLint level, GLint xoffset, GLint yoffset,
638 GLsizei width, GLsizei height, 635 GLsizei width, GLsizei height,
639 GLenum format, GLenum type, ArrayBufferView? pixels); 636 GLenum format, GLenum type, ArrayBufferView? pixels);
640 [RaisesException] void texSubImage2D( 637 [RaisesException] void texSubImage2D(
641 GLenum target, GLint level, GLint xoffset, GLint yoffset, 638 GLenum target, GLint level, GLint xoffset, GLint yoffset,
642 GLenum format, GLenum type, ImageData? pixels); 639 GLenum format, GLenum type, ImageData? pixels);
643 [RaisesException] void texSubImage2D( 640 [RaisesException] void texSubImage2D(
644 GLenum target, GLint level, GLint xoffset, GLint yoffset, 641 GLenum target, GLint level, GLint xoffset, GLint yoffset,
645 GLenum format, GLenum type, HTMLImageElement image); 642 GLenum format, GLenum type, HTMLImageElement image);
646 [RaisesException] void texSubImage2D( 643 [RaisesException] void texSubImage2D(
647 GLenum target, GLint level, GLint xoffset, GLint yoffset, 644 GLenum target, GLint level, GLint xoffset, GLint yoffset,
648 GLenum format, GLenum type, HTMLCanvasElement canvas); 645 GLenum format, GLenum type, HTMLCanvasElement canvas);
649 [RaisesException] void texSubImage2D(
650 GLenum target, GLint level, GLint xoffset, GLint yoffset,
651 GLenum format, GLenum type, HTMLVideoElement video);
652 646
653 void uniform1f(WebGLUniformLocation? location, GLfloat x); 647 void uniform1f(WebGLUniformLocation? location, GLfloat x);
654 [Custom] void uniform1fv(WebGLUniformLocation? location, Float32Array v); 648 [Custom] void uniform1fv(WebGLUniformLocation? location, Float32Array v);
655 void uniform1i(WebGLUniformLocation? location, GLint x); 649 void uniform1i(WebGLUniformLocation? location, GLint x);
656 [Custom] void uniform1iv(WebGLUniformLocation? location, Int32Array v); 650 [Custom] void uniform1iv(WebGLUniformLocation? location, Int32Array v);
657 void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y); 651 void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y);
658 [Custom] void uniform2fv(WebGLUniformLocation? location, Float32Array v); 652 [Custom] void uniform2fv(WebGLUniformLocation? location, Float32Array v);
659 void uniform2i(WebGLUniformLocation? location, GLint x, GLint y); 653 void uniform2i(WebGLUniformLocation? location, GLint x, GLint y);
660 [Custom] void uniform2iv(WebGLUniformLocation? location, Int32Array v); 654 [Custom] void uniform2iv(WebGLUniformLocation? location, Int32Array v);
661 void uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z); 655 void uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z);
(...skipping 18 matching lines...) Expand all
680 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values); 674 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values);
681 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); 675 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
682 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values); 676 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values);
683 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; 677 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ;
684 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values); 678 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values);
685 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, 679 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized,
686 GLsizei stride, GLintptr offset); 680 GLsizei stride, GLintptr offset);
687 681
688 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 682 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
689 }; 683 };
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/WebGLRenderingContextBase.cpp ('k') | sky/engine/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698