OLD | NEW |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 GLenum internal_format, | 83 GLenum internal_format, |
84 GLenum format, | 84 GLenum format, |
85 GLenum type, | 85 GLenum type, |
86 bool premultiply_alpha, | 86 bool premultiply_alpha, |
87 bool flip_y); | 87 bool flip_y); |
88 | 88 |
89 // Used by WebGL to do CPU-GPU texture upload if possible. | 89 // Used by WebGL to do CPU-GPU texture upload if possible. |
90 bool TexImageImpl(WebMediaPlayer::TexImageFunctionID, | 90 bool TexImageImpl(WebMediaPlayer::TexImageFunctionID, |
91 GLenum target, | 91 GLenum target, |
92 gpu::gles2::GLES2Interface*, | 92 gpu::gles2::GLES2Interface*, |
| 93 GLuint texture, |
93 GLint level, | 94 GLint level, |
94 GLint internalformat, | 95 GLint internalformat, |
95 GLenum format, | 96 GLenum format, |
96 GLenum type, | 97 GLenum type, |
97 GLint xoffset, | 98 GLint xoffset, |
98 GLint yoffset, | 99 GLint yoffset, |
99 GLint zoffset, | 100 GLint zoffset, |
100 bool flip_y, | 101 bool flip_y, |
101 bool premultiply_alpha); | 102 bool premultiply_alpha); |
102 | 103 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 Member<MediaRemotingInterstitial> remoting_interstitial_; | 177 Member<MediaRemotingInterstitial> remoting_interstitial_; |
177 | 178 |
178 AtomicString default_poster_url_; | 179 AtomicString default_poster_url_; |
179 | 180 |
180 bool is_persistent_ = false; | 181 bool is_persistent_ = false; |
181 }; | 182 }; |
182 | 183 |
183 } // namespace blink | 184 } // namespace blink |
184 | 185 |
185 #endif // HTMLVideoElement_h | 186 #endif // HTMLVideoElement_h |
OLD | NEW |