Steven Kirk
589b76e9cd
Moved render tests for each platform to their own directory.
The test .cs files stay in the `Avalonia.RenderTests` directory but the D2D and Skia render test .csprojs are moved to their own directory: include the test files by using a glob in the .csproj.
This avoids the hack we were having to do to get `BaseIntermediateOutputPath` to work - we no longer have this problem as now each .csproj has its own directory, it can use the default directory for intermediate files.
8 years ago
Steven Kirk
062f67cd18
Added expected test output.
8 years ago
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
8 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
8 years ago
Jurjen Biewenga
6fc85456f1
Added expected test results for Cairo and Direct2D
8 years ago
Jurjen Biewenga
e74a1be8e4
Added SVGPath test
8 years ago
Nikita Tsukanov
1d6beab970
Fixed Skia's RenderTargetBitmap and made Skia tests to run for .NET Core
9 years ago
Steven Kirk
7a5e9010a3
Added another passing ImageBrush test.
This tests what I though was a bug in #874 but comparing with WPF, it seems this is correct behavior.
9 years ago
Steven Kirk
730911fc0d
Added a couple more passing tile tests.
9 years ago
Steven Kirk
fb25645aed
Fixed expected skia output.
9 years ago
Steven Kirk
27ec199a3d
Added failing custom render tests.
Deferred rendering does not yet support geometry clipping or opacity masks from `Visual.Render`.
9 years ago
Steven Kirk
d6342e906a
Adjusted expected test output.
The output images were off-center.
9 years ago
Steven Kirk
7e1efb33e2
Added failing render test.
Deferred rendering does not yet support clipping in `Visual.Render`.
9 years ago
Steven Kirk
3ce2479489
Implemented deferred opacity drawing.
9 years ago
Steven Kirk
1c42bbf644
Added failing custom renderer test.
Deferred rendering does not yet support opacity from `Visual.Render`.
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
Steven Kirk
8f4ef7fab0
Make a bunch of skia render tests pass.
9 years ago
Steven Kirk
2a79137e56
Make cairo render tests pass.
9 years ago
Steven Kirk
b050edb4b5
Use yellow background in geometry clip tests.
For some reason imagemagick couldn't tell that the renders were wrong
before.
9 years ago
Steven Kirk
e4eaf729a9
Make RadialGradientBrush work
With immediate renderer. Also added a render test and fixed some
problems with D2D implementation.
9 years ago
Steven Kirk
6f07978361
Updated test output.
ImageMagick couldn't tell that the deferred renderer was failing the
test previously!!?!?
9 years ago
Steven Kirk
24635ea218
Added in-tree visual brush test.
Expected output is slightly wonky - need to investigate that once
stuff's working in general.
9 years ago
Steven Kirk
3acf219a72
Added expected output for cairo and skia.
10 years ago
Steven Kirk
43e82e4e14
Added tests for absolute and relative path commands.
Some of the tests are currently failing.
10 years ago
Jeremy Koritzinsky
6feb0f7d88
Opacity masks on Skia now work correctly. Implemented via skia layers.
10 years ago
Jeremy Koritzinsky
5bbdfc55b4
Added a render test.
10 years ago
Jeremy Koritzinsky
33bd33e38c
Added render tests for geometry clipping.
10 years ago
Steven Kirk
ec35cdde79
Fixed TextBlock text wrapping.
And added render test (so far only to D2D backend)
10 years ago
Ivan Kochurkin
d8bec31dd8
Added tests data for Polyline and Polygon rendering.
10 years ago
Ivan Kochurkin
5c969c40b8
Implemented Polygon, Polyline, PolylineGeometry.
Added unit-tests with data and demo code in TestApplication.
10 years ago
Ivan Kochurkin
e07d085ef5
Fixed Line rendering (PointPair instead of Rect) and added unit-tests.
10 years ago
Ivan Kochurkin
2cfa6f842e
Fixed @kekekeks notes.
Fixed test name (Line instead of Circle).
10 years ago
Ivan Kochurkin
b6c66c67e0
Added Line and LineGeometry for line drawing.
10 years ago
susloparov
42bddea9f2
Direct2D render test for the Path using DashLineCap, StartLineCap, EndLineCap.
10 years ago
Steven Kirk
b3e90d01ea
Updated LinearGradientBrush expected output on D2D.
10 years ago
Nikita Tsukanov
d820dc1068
Added unit tests for skia backend
10 years ago
Steven Kirk
23b72840f3
Fixed ClipToBounds not working.
It was clipping to the wrong bounds.
11 years ago
Steven Kirk
cc1c2c0313
Fixes #147 .
11 years ago
Steven Kirk
acf86c15e2
Updated VisualBrush tests to match ImageBrush.
11 years ago
Steven Kirk
c10ac8e68d
Added LinearGradient vertical fill tests.
11 years ago
Steven Kirk
3d845f9527
Fixed failing Border render tests.
They were failing because passing a Pango.Context to FormattedTextImpl
was a hack. Create a pango context on startup that can be used for all
FormattedTextImpls. Fix the expected test output for tests containing
text as the expected output came from the Direct2D renderer where text
rendering is slightly different.
11 years ago
Steven Kirk
d4bc955b38
Fix expected Rectange render output.
11 years ago
Steven Kirk
3648d5b822
Fixed cairo Path tests.
11 years ago
Steven Kirk
c69686142c
Added VisualBrush flips.
11 years ago
Steven Kirk
ec55baf12d
Fix tile alignment.
11 years ago
Steven Kirk
4787e24880
Trying to make tiling work right...
11 years ago
Steven Kirk
73737c6fc4
Added expected output.
11 years ago
Steven Kirk
4cb1e66a56
Added support for VisualBrush TileMode.Tile.
11 years ago
Steven Kirk
aaed6cab91
Add tests for percent rects on VisualBrush
11 years ago