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

Unified Diff: sky/engine/core/html/canvas/WebGLRenderingContextBase.h

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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/html/canvas/WebGLRenderingContextBase.h
diff --git a/sky/engine/core/html/canvas/WebGLRenderingContextBase.h b/sky/engine/core/html/canvas/WebGLRenderingContextBase.h
index d4cf49638cfb7f69990a9ccc2d120ce2cf635e31..00648a5597fa4f4f52488dc5d4fdb93c3b9403b9 100644
--- a/sky/engine/core/html/canvas/WebGLRenderingContextBase.h
+++ b/sky/engine/core/html/canvas/WebGLRenderingContextBase.h
@@ -58,7 +58,6 @@ class EXTShaderTextureLOD;
class EXTTextureFilterAnisotropic;
class ExceptionState;
class HTMLImageElement;
-class HTMLVideoElement;
class ImageBuffer;
class ImageData;
class IntSize;
@@ -243,8 +242,6 @@ public:
GLenum format, GLenum type, HTMLImageElement*, ExceptionState&);
void texImage2D(GLenum target, GLint level, GLenum internalformat,
GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&);
- void texImage2D(GLenum target, GLint level, GLenum internalformat,
- GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&);
void texParameterf(GLenum target, GLenum pname, GLfloat param);
void texParameteri(GLenum target, GLenum pname, GLint param);
@@ -258,8 +255,6 @@ public:
GLenum format, GLenum type, HTMLImageElement*, ExceptionState&);
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&);
- void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
- GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&);
void uniform1f(const WebGLUniformLocation*, GLfloat x);
void uniform1fv(const WebGLUniformLocation*, Float32Array* v);
@@ -430,8 +425,6 @@ protected:
PassRefPtr<Image> drawImageIntoBuffer(Image*, int width, int height, const char* functionName);
- PassRefPtr<Image> videoFrameToImage(HTMLVideoElement*, BackingStoreCopy);
-
WebGLRenderbuffer* ensureEmulatedStencilBuffer(GLenum target, WebGLRenderbuffer*);
// Structure for rendering to a DrawingBuffer, instead of directly
@@ -773,7 +766,6 @@ protected:
SourceImageData,
SourceHTMLImageElement,
SourceHTMLCanvasElement,
- SourceHTMLVideoElement,
};
// Helper function for tex{Sub}Image2D to check if the input format/type/level/target/width/height/border/xoffset/yoffset are valid.
@@ -869,9 +861,6 @@ protected:
// Helper function for tex{Sub}Image2D to make sure canvas is ready and wouldn't taint Origin.
bool validateHTMLCanvasElement(const char* functionName, HTMLCanvasElement*, ExceptionState&);
- // Helper function for tex{Sub}Image2D to make sure video is ready wouldn't taint Origin.
- bool validateHTMLVideoElement(const char* functionName, HTMLVideoElement*, ExceptionState&);
-
// Helper function to validate drawArrays(Instanced) calls
bool validateDrawArrays(const char* functionName, GLenum mode, GLint first, GLsizei count);
« no previous file with comments | « sky/engine/core/html/canvas/CanvasRenderingContext2D.idl ('k') | sky/engine/core/html/canvas/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698