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

Very difficult to implement that demos #266

Open
jmtt89 opened this issue Nov 26, 2017 · 3 comments
Open

Very difficult to implement that demos #266

jmtt89 opened this issue Nov 26, 2017 · 3 comments
Assignees

Comments

@jmtt89
Copy link

jmtt89 commented Nov 26, 2017

Maybe i do not understand the purpose of this repository, i thinking the objective are show the demo of custom functionality that Microsoft think is a good design practice and put accesible to others developers for a easy integration on theirs projects.

But is really hard full integrate some of that demos on our current projects... because all demos depends off Samples Common...

I understand you do that for simplify the development but if you really want other people adapt some of that demos for other projects, i think your have two paths...

First one, put a SampleCommon or similar Library on NuGet.

Second, make all demos independent.. so everyone can grab and put the demo on other project and all will work.

@wldevries
Copy link

I completely agree. It is disappointing that the compositor is introduced as C# and XAML friendly, while the demo applications depend on C++ libraries that do most of the work.

@wldevries
Copy link

wldevries commented Sep 25, 2020

The main problem is that loading bitmaps into brushes is not supported. I first messed around with bits copied from the sample project, but today I found a nuget package that seems to work quite well: CompositionSurfaceFactory

I wish I had found out sooner. There is a SurfaceLoader type in the Microsoft.Toolkit.Uwp.UI.Media NuGet that does exactly the same. This should used in the sample apps as well and be showcased in the demos in the MSDN documentation.

@salihyildirim2
Copy link

salihyildirim2 commented Sep 25, 2020 via email

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

No branches or pull requests

5 participants