OnAcceleratedPaint with OSR #5071
Unanswered
davide-aldegheri
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The example was contributed by a community member. Unfortunately I don't know much about Looks like you've asked at https://stackoverflow.com/questions/79524053/usage-of-onacceleratedpaint-in-osr Hopefully someone there will be able to help you out. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings, I wanted to know I can use the hardware acceleration to render the shared texture coming from OnAcceleratedPaint to a texture buffer so that I can use it in an offscreen environment.
I've tried following the example on cefsharp/CefSharp.OnAcceleratedPaint.Example but I'm getting an exception when creating the device, most likely due to the fact that I have no experience with D3D11 apis, on the line
_output = _swapChain.ContainingOutput;
which gives meThe sample from the aforementioned sample works so I don't think it's anything related to my hardware. My guess is that is something like the
IntPtr handle
used to create the swap chain.Can someone put me on the right track with this?
I'm on Windows 10, using .NET Core 9
Thanks
Beta Was this translation helpful? Give feedback.
All reactions