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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.h

Issue 2854263006: Remove non-target version of copyVideoTextureToPlatformTexture (Closed)
Patch Set: Created 3 years, 7 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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Statistics 73 // Statistics
74 unsigned webkitDecodedFrameCount() const; 74 unsigned webkitDecodedFrameCount() const;
75 unsigned webkitDroppedFrameCount() const; 75 unsigned webkitDroppedFrameCount() const;
76 76
77 // Used by canvas to gain raw pixel access 77 // Used by canvas to gain raw pixel access
78 void PaintCurrentFrame(PaintCanvas*, const IntRect&, const PaintFlags*) const; 78 void PaintCurrentFrame(PaintCanvas*, const IntRect&, const PaintFlags*) const;
79 79
80 // Used by WebGL to do GPU-GPU textures copy if possible. 80 // Used by WebGL to do GPU-GPU textures copy if possible.
81 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, 81 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
82 GLenum target,
82 GLuint texture, 83 GLuint texture,
83 GLenum internal_format, 84 GLenum internal_format,
84 GLenum format, 85 GLenum format,
85 GLenum type, 86 GLenum type,
87 GLint level,
86 bool premultiply_alpha, 88 bool premultiply_alpha,
87 bool flip_y); 89 bool flip_y);
88 90
89 // Used by WebGL to do CPU-GPU texture upload if possible. 91 // Used by WebGL to do CPU-GPU texture upload if possible.
90 bool TexImageImpl(WebMediaPlayer::TexImageFunctionID, 92 bool TexImageImpl(WebMediaPlayer::TexImageFunctionID,
91 GLenum target, 93 GLenum target,
92 gpu::gles2::GLES2Interface*, 94 gpu::gles2::GLES2Interface*,
93 GLuint texture, 95 GLuint texture,
94 GLint level, 96 GLint level,
95 GLint internalformat, 97 GLint internalformat,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 Member<MediaRemotingInterstitial> remoting_interstitial_; 179 Member<MediaRemotingInterstitial> remoting_interstitial_;
178 180
179 AtomicString default_poster_url_; 181 AtomicString default_poster_url_;
180 182
181 bool is_persistent_ = false; 183 bool is_persistent_ = false;
182 }; 184 };
183 185
184 } // namespace blink 186 } // namespace blink
185 187
186 #endif // HTMLVideoElement_h 188 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « media/renderers/skcanvas_video_renderer.cc ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698