Opened 17 years ago
Closed 17 years ago
#6618 closed patch (fixed)
Reinit direct3d video when device is lost (win32)
| Reported by: | Owned by: | Nigel | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | Ports - Windows | Version: | head |
| Severity: | medium | Keywords: | win32 direct3d |
| Cc: | Ticket locked: | no |
Description
If the Direct3D video device is preempted (by a Vista UAC prompt for example), currently the video window goes blank, and the console fills with a TODO message indicating the device could be reset. This simple patch restores video output by reinitializing D3D when needed.
A few other minor changes are included: Fix a typo in the init code, add a check to PrepareFrame() in case the reinit fails, and reduce console flooding when the device is lost.
Attachments (3)
Change History (6)
by , 17 years ago
| Attachment: | 6618-vout_d3d_reinit.patch added |
|---|
by , 17 years ago
| Attachment: | 6618-w32_onefield.patch added |
|---|
by , 17 years ago
| Attachment: | 6618-vout_d3d_reinit_yv12.patch added |
|---|
Replaces original patch; off-loads YV12 color conversion to GPU when possible
comment:1 by , 17 years ago
New patch attached, replacing the original one (combining a couple D3D-related changes rather than opening more tickets). New patch adds some code to perform GPU-based color conversion when possible, substantially reducing CPU load while using Direct3D video output.
comment:2 by , 17 years ago
comment:3 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Simple patch to enable onefield deint on win32