RESOLVED FIXED Bug 34007
Implement hardware acceleration of video on Windows
https://bugs.webkit.org/show_bug.cgi?id=34007
Summary Implement hardware acceleration of video on Windows
Eric Carlson
Reported 2010-01-22 10:14:27 PST
Update the Windows QuickTime media engine to use hardware accelerated compositing.
Attachments
Proposed patch (22.62 KB, patch)
2010-01-22 12:06 PST, Eric Carlson
aroben: review+
Eric Carlson
Comment 1 2010-01-22 12:03:37 PST
Eric Carlson
Comment 2 2010-01-22 12:06:49 PST
Created attachment 47217 [details] Proposed patch
Adam Roben (:aroben)
Comment 3 2010-01-22 12:21:54 PST
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
Eric Carlson
Comment 4 2010-01-22 12:46:19 PST
(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!
Eric Carlson
Comment 5 2010-01-22 12:46:36 PST
Eric Carlson
Comment 6 2010-01-22 15:50:42 PST
Note You need to log in before you can comment on or make changes to this bug.