Closed Bug 592024 Opened 15 years ago Closed 15 years ago

[D3D9] Accelerated layers with D2D can discard retained content

Categories

(Core :: Graphics, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: bas.schouten, Assigned: joe)

References

Details

Attachments

(2 files, 1 obsolete file)

Right now D2D will execute a clear on the surface when a D2D surface is created around a D3D9 shared handle. A race condition can then occur between the D3D9 and D3D10 device which causes the clear to be executed after the retention GPU memcpys have occured. Rather than synchronizing these events we just shouldn't clear the surface on a cairo_d2d_create_surface_for_handle call. The users of said call can clear the surface if that's actually their desired behavior.
Attachment #470526 - Flags: review?(jmuizelaar)
Attachment #470526 - Flags: review?(jmuizelaar) → review+
Assignee: bas.schouten → joe
Attachment #470526 - Attachment is obsolete: true
Attachment #471563 - Flags: review?(jmuizelaar)
Attachment #471563 - Flags: review?(jmuizelaar) → review+
Attached patch exportedSplinter Review
blocking2.0: --- → beta6+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: