Changeset 82199 in webkit
- Timestamp:
- Mar 28, 2011 11:32:36 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r82198 r82199 1 2011-03-28 Kwang Yul Seo <skyul@company100.net> 2 3 Reviewed by Benjamin Poulain. 4 5 [Qt] Change TextureMapperVideoLayer to TextureMapperMediaLayer 6 https://bugs.webkit.org/show_bug.cgi?id=57142 7 8 TextureMapperMediaLayer is a better name here because both video and plugins use this layer. 9 Remove ENABLE(VIDEO) guard. 10 11 * platform/graphics/qt/MediaPlayerPrivateQt.cpp: 12 * platform/graphics/qt/MediaPlayerPrivateQt.h: 13 * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp: 14 (WebCore::GraphicsLayerTextureMapper::setContentsToMedia): 15 * platform/graphics/texmap/TextureMapperNode.h: 16 * platform/graphics/texmap/TextureMapperPlatformLayer.h: 17 (WebCore::TextureMapperMediaLayer::layerType): 18 1 19 2011-03-28 Thomas Klausner <tk@giga.or.at> 2 20 -
trunk/Source/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
r82134 r82199 598 598 #if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER) 599 599 600 class TextureMapperVideoLayerQt : public virtual TextureMapper VideoLayer {600 class TextureMapperVideoLayerQt : public virtual TextureMapperMediaLayer { 601 601 public: 602 602 TextureMapperVideoLayerQt(QGraphicsVideoItem* videoItem) -
trunk/Source/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.h
r81114 r82199 34 34 namespace WebCore { 35 35 36 class TextureMapper VideoLayer;36 class TextureMapperMediaLayer; 37 37 38 38 class MediaPlayerPrivateQt : public QObject, public MediaPlayerPrivateInterface { … … 140 140 QGraphicsScene* m_videoScene; 141 141 #if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER) 142 OwnPtr<TextureMapper VideoLayer> m_platformLayer;142 OwnPtr<TextureMapperMediaLayer> m_platformLayer; 143 143 #endif 144 144 -
trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
r82044 r82199 337 337 m_pendingContent.contentType = media ? TextureMapperNode::MediaContentType : TextureMapperNode::HTMLContentType; 338 338 if (media) 339 m_pendingContent.media = static_cast<TextureMapper VideoLayer*>(media);339 m_pendingContent.media = static_cast<TextureMapperMediaLayer*>(media); 340 340 else 341 341 m_pendingContent.media = 0; -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.h
r81230 r82199 95 95 ContentType contentType; 96 96 RefPtr<Image> image; 97 TextureMapper VideoLayer* media;97 TextureMapperMediaLayer* media; 98 98 99 99 ContentData() -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayer.h
r71538 r82199 44 44 enum Type { 45 45 ContentLayer, 46 VideoLayer46 MediaLayer 47 47 }; 48 48 … … 67 67 }; 68 68 69 #if ENABLE(VIDEO) 70 class TextureMapperVideoLayer : public TextureMapperPlatformLayer { 69 class TextureMapperMediaLayer : public TextureMapperPlatformLayer { 71 70 public: 72 71 virtual void paint(GraphicsContext*) = 0; 73 virtual Type layerType() const { return VideoLayer; }72 virtual Type layerType() const { return MediaLayer; } 74 73 }; 75 #endif76 74 77 75 }
Note: See TracChangeset
for help on using the changeset viewer.