Skip to content

D3DImage on SelectionView doesn't renders in Remote Desktop connection #42

@dartfnm

Description

@dartfnm

Finally I found a way to work with Tooll2 over a Remote Desktop connection.

Please specify true for the "enableSoftwareFallback" parameter in line Tooll\Rendering\D3DImageSharpDX.cs:84
like this
SetBackBuffer(D3DResourceType.IDirect3DSurface9, Surface.NativePointer, true ); // enableSoftwareFallback - for allow render in Remote Desktop Connection

According to https://docs.microsoft.com/en-us/dotnet/api/system.windows.interop.d3dimage

The D3DImage class does not display Direct3D content when WPF renders in software, such as over a Remote Desktop connection, unless you call SetBackBuffer(D3DResourceType, IntPtr, Boolean) and specify true for the enableSoftwareFallback parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions