Steven Kirk
a7f05540b6
Added SampleApp.props.
With conditional references for net461. Hopefully fixes sample apps on net461.
8 years ago
Jumar Macato
4d9c7239cc
Fix CI failures.
8 years ago
Jumar Macato
185eaf9e8a
Added default window size to avoid resizing them to proper size everytime they are run.
8 years ago
Jumar Macato
1d6020ab85
Fix frameworks and add conditional target to DotNetCoreRuntime reference.
8 years ago
Jumar Macato
dd3a9ed3d3
Port BindingTest sample to the new csproj format. Also added MainWindow's Title.
Added net461 on TargetFramework attribs on the samples.
8 years ago
Jumar Macato
b161593994
Moved version and xaml props to build directory.
added Directory.Build.Props to src & samples directory.
cleaned up Avalonia.Markup.csproj. Will do more test to do the same on
Avalonia.Markup.Xaml.
8 years ago
Steven Kirk
9b24d244b5
Remove now-unneeded assembly references.
8 years ago
Jumar Macato
7ae90eb7c5
Cleanup all the csproj's that can be cleaned. Ported RenderTest and VirtualizationTest samples to .NET Core.
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Steven Kirk
c02514f162
Removed imports of deleted .props file.
8 years ago
Steven Kirk
03621a8664
Added AppBuilder methods for logging.
You can now set up serilog logging to `Debug` or `Trace` by calling e.g.:
```
AppBuilder.Configure<App()
.LogToDebug()
.UsePlatformDetect();
```
The methods accept an optional `level` parameter to control the minimum log level.
8 years ago
Nikita Tsukanov
7affba4763
Cleaning splat
8 years ago
Jeremy Koritzinsky
a38dfada10
Fix malformed XAML
8 years ago
Jeremy Koritzinsky
745517f68e
Updated usage of Static and Type to be x:Static and x:Type.
8 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
8 years ago
Jeremy Koritzinsky
dff3031e20
Upgrade ReactiveUI to the v8 alpha nuget package so we don't need to maintain our own fork. Avalonia.ReactiveUI only registers the MainScheduler, and it does so via a call to UseReactiveUI on AppBuilder.
Update Rx.Net dependency to match reactiveui's dependency on Rx.
Removed ReactiveUI dependeny in BindingTests.
Updated BindingTest sample to use the new reactiveui APIs.
Update samples to use current ReactiveUI APIs.
Fixed bug I introduced into tests.
Remove RxUI submodule info from .gitmodules
9 years ago
Steven Kirk
f6ed69be28
StyleResource -> DynamicResource
9 years ago
Eli Arbel
7bbbb185de
Typo
9 years ago
Eli Arbel
b9aa086f03
Adding Drawing classes & render test
9 years ago
Jeremy Koritzinsky
5ec7b33a1a
Revert "Upgrade ReactiveUI to the v8 alpha"
9 years ago
Jeremy Koritzinsky
9f8336c733
Update samples to use current ReactiveUI APIs.
9 years ago
Nikita Tsukanov
cce1c7af60
Switched to nuget version of Portable.Xaml and updated to use netstandard1.3
9 years ago
Nikita Tsukanov
e610d5858f
Merge skia projects into one
9 years ago
Steven Kirk
6bc9636896
Make Avalonia.Direct2D1 target netstandard1.3
It can't target netstandard1.1 because that doesn't include `FileStream`. Had to update the samples to net4.6.1 because of this.
9 years ago
Wiesław Šoltés
2afd6cb224
Remove NuGet workaround
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago
Nikita Tsukanov
e780c4201a
Switched to .NETStandard (mostly 1.1)
9 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
9 years ago
Steven Kirk
910d17a32a
Removed unused code.
9 years ago
Steven Kirk
b16e5b9c54
Removed D2D reference from RenderTest.
Was making build fail on non-Windows
9 years ago
Steven Kirk
8099317f88
Ported RenderTest from scenegraph branch.
9 years ago
Steven Kirk
6036bd5998
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
468f9654e0
Test turning geometry clipping on and off.
Seems to work!
9 years ago
Steven Kirk
5e4f5a6160
Handle geometry clips on child layers.
9 years ago
Steven Kirk
9004e9b4f8
Updated RenderTest.
It has various problems under deferred renderer.
9 years ago
Steven Kirk
e619e6c6c2
Added skia ref to RenderTest.
9 years ago
Steven Kirk
932f489faa
Use the Direct2D 1.1 render target initialization.
To prevent D2D from auto-stretching our render target to the window size
(which causes problems now we're multi-threaded) we have to move to the
D2D1.1 render target initialization. I used the info here to work out
how to do this:
https://katyscode.wordpress.com/2013/01/23/migrating-existing-direct2d-applications-to-use-direct2d-1-1-functionality-in-windows-7/
- it's not exactly simple!
9 years ago
Steven Kirk
e222e92340
Add option to draw dirty rects.
9 years ago
Steven Kirk
c9752d32d8
Fixed a few things.
- We don't need ConcurrentQueue in renderer
- DirtyRects coalescing was wrong
- Display number of updated rects for debug until we have dirty rect
rendering
- Animate 2 items at once in RenderTest
9 years ago
Steven Kirk
86216d9420
Use scene geometry for hit-testing.
This means we now correctly hit test circles etc.
9 years ago
Steven Kirk
d91d1829ac
Initial implementation of scenegraph hit testing.
Based solely on control bounds as before.
9 years ago
Steven Kirk
ada15eba00
Initial implementation of low-level scene graph.
Whole tree is currently being updated and rendered still though and lots doesn't even build.
9 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
9 years ago
Steven Kirk
bf2285bbe4
Added a render test sample.
To measure FPS with animations.
10 years ago