You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my efforts for providing an interop layer between my graphics API and Avalonia I had need to use the AngleWin32EglDisplay.WrapDirect3D11Texture method.
Unfortunately, it appears to be failing. When I call it, I get this:
This is how I'm calling it:
IntPtr_d3dRtSharedHandle;EglSurface_glSurface;varplatform=AvaloniaLocator.Current.GetService<IPlatformOpenGlInterface>();_platform=(EglPlatformOpenGlInterface)platform;_d3dRtSharedHandle=_target.Texture.GetSharedHandle();// The shared handle IS working, I've confirmed this._glSurface=_angleDisplay.WrapDirect3D11Texture(_platform,_d3dRtSharedHandle);
I was able to work around it by calling AngleWin32EglDisplay.EglInterface.CreatePbufferFromClientBuffer (which the Wrap method seems to do as well, just has different parameters than what I've got here):
In my efforts for providing an interop layer between my graphics API and Avalonia I had need to use the
AngleWin32EglDisplay.WrapDirect3D11Texture
method.Unfortunately, it appears to be failing. When I call it, I get this:
This is how I'm calling it:
I was able to work around it by calling
AngleWin32EglDisplay.EglInterface.CreatePbufferFromClientBuffer
(which the Wrap method seems to do as well, just has different parameters than what I've got here):The text was updated successfully, but these errors were encountered: