Direct3D 9 (non-ex) Devices cannot be reset

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
9 years ago
9 years ago

People

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

Tracking

unspecified
x86
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(blocking2.0 beta8+)

Details

Attachments

(1 attachment, 1 obsolete attachment)

For a while now we've had D3D9 devices use a VertexBuffer in D3DPOOL_DEFAULT. This is fine but it means the buffer needs to be released and recreated when a device reset is performed on a non D3D9-ex device (for example after screenlock), otherwise the device reset will fail and we will consider the device lost beyond hope and recreate all layer managers.
Attachment #492482 - Flags: review?(jmuizelaar)
This is a big problem for Windows XP.
blocking2.0: --- → ?
Add missing return true.
Assignee: nobody → bas.schouten
Attachment #492482 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #492482 - Flags: review?(jmuizelaar)
sounds like we need to change this from nominated for 2.0 to blocking beta8 to reduce the volume of the #1 top crash on trunk (bug 611597).
Can we just used D3DPOOL_MANAGED to avoid loosing the vertex buffer on device reset?
blocking2.0: ? → beta8+
http://hg.mozilla.org/mozilla-central/rev/9ecae0a45ab8
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
No longer blocks: 611597
Duplicate of this bug: 611597
Depends on: 614762
Blocks: 611597
Depends on: 614771
Duplicate of this bug: 604647
You need to log in before you can comment on or make changes to this bug.