| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // The caller is responsible for allocating the destination texture. | 78 // The caller is responsible for allocating the destination texture. |
| 79 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, | 79 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, |
| 80 GLuint texture, | 80 GLuint texture, |
| 81 bool premultiplyAlpha, | 81 bool premultiplyAlpha, |
| 82 bool flipY); | 82 bool flipY); |
| 83 | 83 |
| 84 // Used by WebGL to do CPU-GPU texture upload if possible. | 84 // Used by WebGL to do CPU-GPU texture upload if possible. |
| 85 bool texImageImpl(WebMediaPlayer::TexImageFunctionID, | 85 bool texImageImpl(WebMediaPlayer::TexImageFunctionID, |
| 86 GLenum target, | 86 GLenum target, |
| 87 gpu::gles2::GLES2Interface*, | 87 gpu::gles2::GLES2Interface*, |
| 88 GLuint texture, |
| 88 GLint level, | 89 GLint level, |
| 89 GLint internalformat, | 90 GLint internalformat, |
| 90 GLenum format, | 91 GLenum format, |
| 91 GLenum type, | 92 GLenum type, |
| 92 GLint xoffset, | 93 GLint xoffset, |
| 93 GLint yoffset, | 94 GLint yoffset, |
| 94 GLint zoffset, | 95 GLint zoffset, |
| 95 bool flipY, | 96 bool flipY, |
| 96 bool premultiplyAlpha); | 97 bool premultiplyAlpha); |
| 97 | 98 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 m_customControlsFullscreenDetector; | 161 m_customControlsFullscreenDetector; |
| 161 | 162 |
| 162 AtomicString m_defaultPosterURL; | 163 AtomicString m_defaultPosterURL; |
| 163 | 164 |
| 164 bool m_isPersistent = false; | 165 bool m_isPersistent = false; |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 } // namespace blink | 168 } // namespace blink |
| 168 | 169 |
| 169 #endif // HTMLVideoElement_h | 170 #endif // HTMLVideoElement_h |
| OLD | NEW |