Not even worth thinking about... DX and OGL are mutually unintelligible :(
Actually, that's not true. WebGL on Windows is implemented using D3D (ANGLE converts OGL ES calls to D3D9) in most cases, and WINE has done D3D on top of OGL for years. They're very different, but translating between the two really isn't as big a deal as you'd think. (Just keep in mind that XNA isn't D3D -- it may backend to it, but it's a very different API.)