Closed Bug 573507 Opened 12 years ago Closed 12 years ago

[D2D] Make Direct2D support transparent windows

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

Attachments

(3 files)

Direct2D needs to support transparent surfaces. It can do so by exposing the GetDC interop function, and supplying that DC as source to UpdateLayeredWindow.
Attachment #452825 - Flags: review?(jmathies) → review+
Summary: [D2D] Make Direct2D support transparent surfaces → [D2D] Make Direct2D support transparent windows
Pushed http://hg.mozilla.org/mozilla-central/rev/1aa5e909f473.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
(In reply to comment #3)
> Bas, looks like this broke me :(

Looks like you need some: |CAIRO_HAS_D2D_SURFACE| around these new blocks.
Attached patch backout of patchSplinter Review
Attaching a backout as a patch just in case that is the desired course or if anyone else hits this as a quick temporary fix.
Same problem here. The attached patch fixes the problem.
Attachment #453020 - Flags: review?(jmathies)
Ugh, thanks, I knew I should've just stubbed the gfxD2DSurface class where !CAIRO_HAS_D2D_SURFACE.
Attachment #453020 - Flags: review?(jmathies) → review+
Keywords: checkin-needed
Depends on: 605189
You need to log in before you can comment on or make changes to this bug.