These are chat archives for AvaloniaUI/Avalonia

1st
Jun 2017
asgardaesir
@asgardaesir
Jun 01 2017 00:21
Screen Shot 2017-06-01 at 12.19.35.png
Hey there, I'm playing around with Avalonia with .netcore and Rider EAP. I'm using Avalonia 0.5.1 to set up a basic 'hello world' but have run into an issue. It seems the AppBuilder class cannot be found
Corey Richardson
@cmr
Jun 01 2017 00:27
Hm, it seems most of my problems were derps, but a nicer interface to modifying ILockedFramebuffer would be appreciated :)
Nikita Tsukanov
@kekekeks
Jun 01 2017 05:44
@asgardaesir AppBuilder is not available for netstandard
you need to use either net4** or netcoreapp**
@cmr if you want an offscreen surface, use RenderTargetBitmap
WritableBitmap is intended for interop with external native code
Steven Kirk
@grokys
Jun 01 2017 07:17
so yeah, cake is failing locally on master too
Nikita Tsukanov
@kekekeks
Jun 01 2017 10:16

@wieslawsoltes @danwalmsley @grokys MonoMac backend is now available from NuGet

Known issues:

  • BeginResizeDrag is not implemented
If you can test it with your apps, that would be great
Nikita Tsukanov
@kekekeks
Jun 01 2017 10:21
@jkoritzinsky It would be nice if you take a look
Steven Kirk
@grokys
Jun 01 2017 12:17
Nice! Wish I had a Mac to try it
danwalmsley
@danwalmsley
Jun 01 2017 13:47
@kekekeks is this recommended over skia on mac?
Nikita Tsukanov
@kekekeks
Jun 01 2017 13:50
It's recommended over GTK3 on mac
danwalmsley
@danwalmsley
Jun 01 2017 13:50
@grokys was trying to test the deferred renderer
I replaced the assemblies in the nugget folder after building locally
but get
Nikita Tsukanov
@kekekeks
Jun 01 2017 13:50
BeginResizeDrag needs a manual implementation though
danwalmsley
@danwalmsley
Jun 01 2017 13:50
image.png
@kekekeks nice work
I take it useplatformdetect still selects gtk?
@kekekeks did you have chance to review deffered renderer?
Nikita Tsukanov
@kekekeks
Jun 01 2017 13:56

I take it useplatformdetect still selects gtk?

I haven't touched anything in the current code base

review deffered renderer

Nope

Need a hour or two of uninterrupted reading
milkinllc
@milkinllc
Jun 01 2017 16:19
image.png
@kekekeks Just installed VS plugin from dropbox, created new full .net project from avalonia template and tried to open MainWindow.xaml.
Nikita Tsukanov
@kekekeks
Jun 01 2017 16:20
Try to restart VS
happens from time to time, no idea why
milkinllc
@milkinllc
Jun 01 2017 16:24
@kekekeks Still not working.
milkinllc
@milkinllc
Jun 01 2017 16:40
@kekekeks I had other 2015 projects in the same solution. That was a reason.
Nikita Tsukanov
@kekekeks
Jun 01 2017 18:33
Could you provide me with a repro?
milkinllc
@milkinllc
Jun 01 2017 18:39
@kekekeks I've just created separate solution and loaded projects from new template (most recent plugin from dropbox) there and preview worked. In my old solution I had the app created from VS2015 plugin.
Wiesław Šoltés
@wieslawsoltes
Jun 01 2017 21:31
@grokys @kekekeks Something has changed in Direct2D rendering back-end recently? I have found that Direct2D renderer performance is very bad compared to SkiaSharp.
Wiesław Šoltés
@wieslawsoltes
Jun 01 2017 21:38
Seems like only the performance of bitmap rendering is affected.
Nikita Tsukanov
@kekekeks
Jun 01 2017 21:39
We have switched to swap chain
But that was quite a while ago
Wiesław Šoltés
@wieslawsoltes
Jun 01 2017 21:39
The difference is pretty huge
Wiesław Šoltés
@wieslawsoltes
Jun 01 2017 21:49
I have created issue AvaloniaUI/Avalonia#1006 as its easily reproducible in Core2D
Wiesław Šoltés
@wieslawsoltes
Jun 01 2017 21:54
This is project to reproduce the issue