Closed
Bug 584754
Opened 14 years ago
Closed 14 years ago
D3D9 layers needs to use IDirect3DDevice9Ex where available
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta5+ |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
20.41 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
Where available(Vista+) we need to make D3D9 layers use IDirect3DDevice9Ex. This will allow surface sharing which will have advantages for both WebGL and will make it possible for Direct2D to draw directly to its textures.
Assignee | ||
Comment 1•14 years ago
|
||
This does the job. It depends on the patch on bug 585248 and integrates with the new DeviceManager introduced in that patch. As a side-effect it enables using Dynamic textures where available for CanvasSurfaces, these should be better suited for the frequent update semantics these have.
Attachment #463940 -
Flags: review?(vladimir)
Assignee | ||
Comment 2•14 years ago
|
||
This is needed to allows D3D9 layer managers for D2D enabled machines. This in turn is needed for fast webgl, hardware accelerated YUV->RGB conversion and some other things.
blocking2.0: --- → ?
Updated•14 years ago
|
blocking2.0: ? → beta5+
Updated•14 years ago
|
Blocks: d3d9-layers
Comment on attachment 463940 [details] [diff] [review] Use D3D9Ex where available This looks fine, though one comment -- null check mD3D9 before calling CreateDevice on it, just in case d3d9create fails. Also, "d3d9create" and "d3d9CreateEx" have different capitalization, may want to capitalize the C to make it consistent.
Attachment #463940 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/20ab6d450abc.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•