| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 bool webkitDisplayingFullscreen(); | 62 bool webkitDisplayingFullscreen(); |
| 63 | 63 |
| 64 // Statistics | 64 // Statistics |
| 65 unsigned webkitDecodedFrameCount() const; | 65 unsigned webkitDecodedFrameCount() const; |
| 66 unsigned webkitDroppedFrameCount() const; | 66 unsigned webkitDroppedFrameCount() const; |
| 67 | 67 |
| 68 // Used by canvas to gain raw pixel access | 68 // Used by canvas to gain raw pixel access |
| 69 void paintCurrentFrameInContext(GraphicsContext*, const IntRect&) const; | 69 void paintCurrentFrameInContext(GraphicsContext*, const IntRect&) const; |
| 70 | 70 |
| 71 // Used by WebGL to do GPU-GPU textures copy if possible. | 71 // Used by WebGL to do GPU-GPU textures copy if possible. |
| 72 // See more details at MediaPlayer::copyVideoTextureToPlatformTexture() defi
ned in Source/WebCore/platform/graphics/MediaPlayer.h. | |
| 73 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje
ct texture, GC3Dint level, GLenum internalFormat, GLenum type, bool premultiplyA
lpha, bool flipY); | 72 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje
ct texture, GC3Dint level, GLenum internalFormat, GLenum type, bool premultiplyA
lpha, bool flipY); |
| 74 | 73 |
| 75 bool shouldDisplayPosterImage() const { return displayMode() == Poster; } | 74 bool shouldDisplayPosterImage() const { return displayMode() == Poster; } |
| 76 | 75 |
| 77 KURL posterImageURL() const; | 76 KURL posterImageURL() const; |
| 78 | 77 |
| 79 // FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not d
epend on it. | 78 // FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not d
epend on it. |
| 80 virtual KURL mediaPlayerPosterURL() override; | 79 virtual KURL mediaPlayerPosterURL() override; |
| 81 | 80 |
| 82 // CanvasImageSource implementation | 81 // CanvasImageSource implementation |
| (...skipping 25 matching lines...) Expand all Loading... |
| 108 virtual void setDisplayMode(DisplayMode) override; | 107 virtual void setDisplayMode(DisplayMode) override; |
| 109 | 108 |
| 110 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 109 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 111 | 110 |
| 112 AtomicString m_defaultPosterURL; | 111 AtomicString m_defaultPosterURL; |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 } // namespace blink | 114 } // namespace blink |
| 116 | 115 |
| 117 #endif // HTMLVideoElement_h | 116 #endif // HTMLVideoElement_h |
| OLD | NEW |