Bug 152392 - [WinCairo][MediaFoundation] Release Direct3D swap chain object earlier.
Summary: [WinCairo][MediaFoundation] Release Direct3D swap chain object earlier.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-17 11:55 PST by peavo
Modified: 2015-12-17 12:57 PST (History)
3 users (show)

See Also:


Attachments
Patch (3.00 KB, patch)
2015-12-17 11:59 PST, peavo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2015-12-17 11:55:01 PST
Since we don't use the swap chain object to render the video to a window, but render frames to Cairo bitmaps, we can let go of the swap chain object earlier than we currently do.
Comment 1 peavo 2015-12-17 11:59:42 PST
Created attachment 267574 [details]
Patch
Comment 2 Alex Christensen 2015-12-17 12:10:08 PST
Comment on attachment 267574 [details]
Patch

Hooray! Less code!
Comment 3 peavo 2015-12-17 12:37:04 PST
(In reply to comment #2)
> Comment on attachment 267574 [details]
> Patch
> 
> Hooray! Less code!

Yes, I'll keep my eyes open for more things we can delete :) Thanks for reviewing :)
Comment 4 WebKit Commit Bot 2015-12-17 12:57:47 PST
Comment on attachment 267574 [details]
Patch

Clearing flags on attachment: 267574

Committed r194227: <http://trac.webkit.org/changeset/194227>
Comment 5 WebKit Commit Bot 2015-12-17 12:57:51 PST
All reviewed patches have been landed.  Closing bug.