Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample/Component Bug (?): After several resizes, rendering sometimes stops #6

Closed
rrelyea opened this issue Oct 30, 2015 · 2 comments
Closed
Assignees

Comments

@rrelyea
Copy link
Contributor

rrelyea commented Oct 30, 2015

After resizing your D3D11Image few times, it just stops rendering to it and thats all

[Originally filed by QuantumDeveloper as part of "D3DImage possible issues" https://github.com//issues/2]

@rrelyea rrelyea self-assigned this Oct 30, 2015
rrelyea added a commit that referenced this issue Nov 4, 2015
* fix: Component: Microsoft.Wpf.Interop.DirectX.dll should have
TargetFrameworkVersionAttribute=4.5
(#8 )
* fix: Sample improvement: D3DVisualization.cpp - RenderTarget should
not be recreated each Render() call
(#4 )
Have SurfaceQueueInteropHelper notify d3d renderer when a surface was
recreated (due to a resize) to make it easier for them to understand
when to recreate rendertarget, etc...  That mostly involves plumbing
through a bool in the Render event handler signature.

Removed SetRenderSize in the d3d rendering component of sample...as that
turned out to be unnecessary. Explained it in mainwindow.xaml.cs change.

Believe that this fix also solves this issue:
Sample/Component Bug: After several resizes, rendering sometimes stops
(#6 )
@rrelyea
Copy link
Contributor Author

rrelyea commented Nov 4, 2015

Believe that this is fixed with this changeset: ceae359

@rrelyea rrelyea closed this as completed Nov 4, 2015
@sqeezy
Copy link

sqeezy commented Jun 24, 2016

I am pretty sure this is not resolved.
We just tested this with the nuget source and compiled the source ourselfes too.
Sometimes it needs a larger number of resizes but then it skips one OnRender call so that the the image is empty till the next frame is rendered. I'd like to see this issue reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants