Update the Windows QuickTime media engine to use hardware accelerated compositing.
<rdar://problem/7373568>
Created attachment 47217 [details] Proposed patch
Comment on attachment 47217 [details] Proposed patch > + (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering): New, return true unless the > + movie is not ready to render or the movie is in a media document. This isn't true anymore. > @@ -190,7 +199,7 @@ void MediaPlayerPrivate::pause() > return; > m_startedPlaying = false; > #if DRAW_FRAME_RATE > - m_timeStoppedPlaying = GetTickCount(); > + m_timeStoppedPlaying = WTF::currentTime(); You shouldn't need the "WTF::" here. r=me
(In reply to comment #3) > (From update of attachment 47217 [details]) > > + (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering): New, return true unless the > > + movie is not ready to render or the movie is in a media document. > > This isn't true anymore. > True. > > @@ -190,7 +199,7 @@ void MediaPlayerPrivate::pause() > > return; > > m_startedPlaying = false; > > #if DRAW_FRAME_RATE > > - m_timeStoppedPlaying = GetTickCount(); > > + m_timeStoppedPlaying = WTF::currentTime(); > > You shouldn't need the "WTF::" here. > MediaPlayerPrivate has a "currentTime" method. > r=me Thanks!
http://trac.webkit.org/changeset/53711
With http://trac.webkit.org/changeset/53725 for good measure.