Git Product home page Git Product logo

d2dcontrol's People

Contributors

dalance avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d2dcontrol's Issues

Memory leak on Window SizeChanged event

The memory usage will increase absurdly without stopping while you resize the window.
I created a WPF C# project in Visual Studio 2015 Update 3, using .NET Framework 4.5.2 on Windows 10 x64

Flickering & "jumpy" animation

This is a great project and I know most dx11 under WPF implementations have this issue, but is there a way to fix any of these two issues:

  • Sometimes there is flickering (the rectangle from the sample dissapears for a frame)
  • The animation seems to "skip" some frames from time to time for no apparent reason (this seems to happen within WPF itself as well)

VirtualizingMode="Recycling"なListViewのアイテムでの使用でNPE発生

ListViewのアイテムとして使用したところ、スクロールするとD2dControlの中でNullReferenceExceptionが発生しました。

  • スタックトレース
D2dControl.dll!D2dControl.D2dControl.CreateAndBindTargets()	不明
D2dControl.dll!D2dControl.D2dControl.OnRenderSizeChanged(System.Windows.SizeChangedInfo sizeInfo)	不明
PresentationCore.dll!System.Windows.ContextLayoutManager.fireSizeChangedEvents()	不明
PresentationCore.dll!System.Windows.ContextLayoutManager.UpdateLayout()	不明
PresentationCore.dll!System.Windows.UIElement.UpdateLayout()	不明
PresentationFramework.dll!System.Windows.Controls.VirtualizingStackPanel.InitializeViewport.AnonymousMethod__0()	不明

ListViewのVirtualizingPanel.VirtualizationMode="Recycling"を削除すると例外は出なくなりました。

  • 動作環境
    • OS: Windows 7 Home Premium
    • Microsoft Visual Studio Community 2015 Update3
    • 使用パッケージ
<packages>
  <package id="D2dControl" version="1.1.6.0" targetFramework="net452" />
  <package id="SharpDX" version="3.0.0" targetFramework="net452" />
  <package id="SharpDX.Direct2D1" version="3.0.0" targetFramework="net452" />
  <package id="SharpDX.Direct3D11" version="3.0.0" targetFramework="net452" />
  <package id="SharpDX.Direct3D9" version="3.0.0" targetFramework="net452" />
  <package id="SharpDX.DXGI" version="3.0.0" targetFramework="net452" />
</packages>

Device not accessible

Hey, in order to load textures and render bitmaps in 2D need to make the device accessible in your control.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.