Nikita Tsukanov
e883107ca3
Make PlatformImpl nullable and always check for null value
9 years ago
Nikita Tsukanov
06aa7780fb
Moved Direct2D initialization away from static constructor
9 years ago
Nikita Tsukanov
342128bbf1
Fixed CreateSwapChain
9 years ago
Nikita Tsukanov
59e79a6685
Removed unused field from WicBitmapImpl
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
92331915b4
Enable SharpDX EnableReleaseOnFinalizer.
We need to enable to avoid memory leaks this as we're not doing cleanup
of SharpDX objects ourselves.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Steven Kirk
04b35fef62
Removed unused field.
9 years ago
Nikita Tsukanov
6cf037ad7c
One liners
9 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
9 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
9 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
9 years ago
Nikita Tsukanov
4bb5ebf070
Fixed build script for windows
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago
Nikita Tsukanov
e35b2af5b2
Don't use multitargeting (we are using only one target anyway)
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
2b87e22db4
Use the dirty rect from BeginPaint on WM_PAINT.
The one returned by `GetUpdateRect` at this point will be empty, from
the win32 docs:
> BeginPaint automatically validates the update region, so any call to
GetUpdateRect made immediately after the call to BeginPaint retrieves an
empty update region.
9 years ago
Steven Kirk
4e7b743ecd
Ported changes to DrawingContext from scenegraph
Ported changes to `DrawingContext` and `DrawingContextImpl` from the
`scenegraph` branch.
9 years ago
Steven Kirk
74a0faa637
Use brush interfaces in rendering backends.
9 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Nikita Tsukanov
67a82d0462
Reverted WIC default pixel format
9 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
9 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
9 years ago
Nikita Tsukanov
f21212e76a
Refactored out WindowBase from TopLevel
9 years ago
Nikita Tsukanov
d7bee43015
Check for Windows version in Direct2D platform
9 years ago
Nikita Tsukanov
dd25cffdcc
[WIN32_CORE] Use flat GDI+ API for icon loading
9 years ago
Andrey Alonzov
adda76bcc0
Changes according to PR comments.
9 years ago
Nikita Tsukanov
f6ea72872a
Properly handle disposal for Win32 and GTK3
9 years ago
MrDaedra
c98b57a525
Moved ShowDialog implementation from platform-specific interface to portable Window class.
9 years ago
Nikita Tsukanov
830a4963fe
Added netcoreapp1.0 build for Avalonia.Skia.Desktop, updated splat
9 years ago
Nikita Tsukanov
424c21fab4
Added Avalonia.DotNetCoreRuntime
9 years ago
Nikita Tsukanov
471acf0662
Random message window class name
9 years ago
Nikita Tsukanov
a7bd6ff192
AppDerpor
9 years ago
Nikita Tsukanov
e9554554c1
Avalonia.Win32 for .NETStandard 1.1
9 years ago
Steven Kirk
8f3e56963a
Picked some style nits.
9 years ago
Dan Walmsley
e486b27357
Only call maximize without covering taskbar if we are in maximized state.
9 years ago
Dan Walmsley
1394995927
Win32 WindowImpl now obeys taskbar when maximizing by default.
9 years ago
Nikita Tsukanov
55eb55dc88
Removed INativeWindowPlatformSurface and added some docs
9 years ago
Nikita Tsukanov
154b5836b7
Fixed dpi
9 years ago
Nikita Tsukanov
374d600275
Added support for multiple drawing methods for window implementations. Added framebuffer support
9 years ago
Jeremy Koritzinsky
1fd692f262
Change implementation to be via different classes so as to not break invariants and pixel measurements.
9 years ago
Jeremy Koritzinsky
17a43dacfa
Make it possible to construct a Direct2D BitmapImpl from a ID2D1Bitmap directly, instead of only via WIC imaging factories.
9 years ago
Jeremy Koritzinsky
619e64ef1d
Remove DirectX 12 feature level choices. Device will be created with feature levels up to DirectX 11.1 (Windows 8), which is all we use.
10 years ago
Jeremy Koritzinsky
9d73868da7
Remove the VideoSupport flag because AppVeyor machines do not support it.
10 years ago
Jeremy Koritzinsky
e2ba8fb5bb
Make video support creation flag only be set when running on Windows 8 or newer (Direct3D11.1 or newer).
10 years ago
Jeremy Koritzinsky
1a96efa8af
Update implementation and added test case to control catalog. Fixes #807 .
10 years ago
Jeremy Koritzinsky
d02b7cbe92
Create D2D1 device with a factory.
10 years ago
Jeremy Koritzinsky
4575c1abc9
Updated Resharper naming rules to match our conventions.
10 years ago