Closed
Bug 606983
Opened 15 years ago
Closed 15 years ago
[D2D] Verify surface devices match
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
3.00 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Since our new fallback logic for D3D10 layers it's possible for a new device to be used after a driver reset. We're currently continuing to draw however we're trying to use cached bitmaps from the old device, this doesn't work. We should not use the cached bitmaps if they don't belong to the right device.
This patch simply tosses the cached bitmaps, this is not the best thing ever if actually using multiple devices simultaneously but we don't do that. To support that situation we should use a key-per-device for storing the user-data but I don't think it's worth adding that complexity to the code at this point. This is the simplest solution for now I believe.
Attachment #485743 -
Flags: review?(jmuizelaar)
Comment 1•15 years ago
|
||
Comment on attachment 485743 [details] [diff] [review]
Check if device matches
sent comments on IRC
Attachment #485743 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #485743 -
Flags: approval2.0?
Updated•15 years ago
|
blocking2.0: --- → beta7+
Updated•15 years ago
|
Attachment #485743 -
Flags: approval2.0?
Assignee | ||
Comment 2•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•