On Thu, 8 Oct 2020 16:19:52 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> When connecting via Remote Desktop to a Windows 10 machine ans starting a 
>> JavaFX application, the D3D pipeline is used
>> successfully. After closing the the Remote Desktop session and reconnecting, 
>> the D3D requests fail with an
>> D3DERR_DEVICEREMOVED  HResult, and the application contents are not rendered 
>> anymore. Reinitializing the whole pipeline
>> fixes that.
>
> This will need a fair bit of testing. I'm not certain that we always want to 
> recreate the factory when the device is
> lost, but we can evaluate that during the review.

The full recreation of the pipeline is only done when D3DERR_DEVICEREMOVED is 
occurring. On other causes of why the
device is not ready, only the factory reference in the painter is cleared.

-------------

PR: https://git.openjdk.java.net/jfx/pull/315

Reply via email to