Closed LittleFox94 closed 8 years ago
That's seriously cool, if we can avoid the round trip there that would be a serious improvement - actually a working example would be extremely helpful - what I'll do is aim to get this in the forthcoming 2.4 release, I'm also going to set up a very simple scene, profile before and after and then include some example metrics for the improvements, thanks for reaching out on this one!
I can post an example which is working but needs some cleaning, it's somewhat tied to our code and doesn't have resize-events for example. Also this example needs SlimDX to create the surfaces.
I'll made another comment when I've pushed the sample to my fork :)
I've added an example, all known problems are listed in the changelog.
I'll probally fix the resizing issue as it's a blocker for my work, but if you (or anyone else) has an idea, just do it :)
Cool, I'll get this merged in when I'm ready to get the next release done - thanks for your help!
Cool :) The resizing bug is fixed at work, will try to commit it tomorrow (I don't use windows at home).
Awesome, no rush as it'll be a week or so before I can get the time to work on the next release :)
I finally got the time to commit the fix for the resizing issue. Sorry for the delay
No probs will merge it soon!
Hey, I was really looking forward to this. Any plans to merge it into an official release soon?
Unfortunately I've been super busy (and still am) at work, so it might be a while before I get to make a new release of SharpGL but I'll try and get this merged in soon so that at least the master branch has these changes
Are you still interested in this? I could re-create the repository and resolve the conflict Github is reporting.
Hi Moritz,
Sorry for the late reply, yes indeed I am still interested, if you can create a PR which is ready to merge then I'll start the process of getting it into the codebase!
Thanks,
Dave
On 25 August 2015 at 21:26, Moritz Grosch (LittleFox) < notifications@github.com> wrote:
Are you still interested in this? I could re-create the repository and resolve the conflict Github is reporting.
— Reply to this email directly or view it on GitHub https://github.com/dwmkerr/sharpgl/pull/32#issuecomment-134584815.
Just a quick status update: I have a working version at home, will test it for performance and come back here with a push. This will probably result in a new pull-request, as the original repo has been deleted a while ago. I don't start Windows very often, so this may take a while - sorry.
Please see the new pull-request.
Using NV_DX_interop can make the WPF GL-Control a lot faster because there is no need to copy the Framebuffer to system ram, converting it's pixel format and then copying it back to graphics ram.
I can provide a working example if needed :)