Max Katz
4c0873eb9a
Fix build
3 years ago
Steven Kirk
04c50f8bf2
Make style selector internals internal.
3 years ago
Steven Kirk
5b7d5a33ae
Fix benchmarks compile error,
3 years ago
Max Katz
810558140f
Introduce static AssetLoader
3 years ago
Max Katz
4aa6035ec3
Reuse text and geometry related headless mocks in Avalonia unit tests and benchmarks
3 years ago
Max Katz
a507e92b31
Fix theme-dependend markup extensions not knowing current theme context
3 years ago
Benedikt Stebner
0442c3b337
Introduce advanced render options
3 years ago
Nikita Tsukanov
312f1250e2
Don't use AvaloniaObject in IPlatformRenderInterface
3 years ago
Nikita Tsukanov
0f4ed2a4b9
Updated tests to use IDispatcherImpl
3 years ago
Nikita Tsukanov
17492be5b6
Removed RunLoop from IPlatformThreadingInterface
3 years ago
Dariusz Komosinski
d9d208b935
Add benchmark for Or selector and avoid extra virtual calls getting list count.
3 years ago
Benedikt Stebner
147db08f90
Introduce GlyphRun.Bounds
3 years ago
Nikita Tsukanov
ae1fcfed51
Refactored DrawingContext and VisualBrush, added DrawingBrush ( #10419 )
Refactored DrawingContext and VisualBrush, added DrawingBrush
3 years ago
Benedikt Stebner
f5caa61051
[SKIA] UseOpacitySaveLayer feature switch ( #9964 )
* [SKIA] Introduce UseOpacitySaveLayer feature switch
* Only maintain _currentOpacity when OpacitySaveLayer is disabled
3 years ago
José Pedro
f8af158a38
Updated packages used by tests.
3 years ago
Julien Lebosquain
5e13c5b59a
Implemented layout and render time graph overlays
3 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
3 years ago
Julien Lebosquain
5ffd961742
Perf: improved text wrapping
3 years ago
Benedikt Stebner
cb884c6e9e
Reintroduce customizable GlyphRun.BaselineOrigin
Reintroduce Brush IBrush inheritance
3 years ago
Julien Lebosquain
7a1f74a3d3
Benchmarks: option to use Skia for text layout
3 years ago
Julien Lebosquain
10a3b79d12
Perf: various misc text layout optimizations
3 years ago
Benedikt Stebner
07c11c75e7
Use IGlyphRunImpl in the IDrawingContextImpl
3 years ago
Julien Lebosquain
89a78f557b
Don't keep the text layout buffers around if they're too large
3 years ago
Nikita Tsukanov
d714f37fce
Implemented interop with externally managed GPU memory
3 years ago
Julien Lebosquain
fd0720fc56
Updated text layout benchmark with trimming/wrapping
3 years ago
Julien Lebosquain
4144be11fe
Pass GlyphInfo directly to GlyphRun
3 years ago
Max Katz
a0d22499cd
Fix benchmarks build
3 years ago
Max Katz
be22b361c8
Add theme variants specific tests
3 years ago
Benedikt Stebner
74bbfd8509
Support intercepts for all location but TextDecorationLocation.Strikethrough
3 years ago
Sergey Mikolaitis
56e94e424c
[Text] Add textblocks virtualization benchmark, rename field
3 years ago
Sergey Mikolaitis
39374451dd
[Text] Add pooling to shapedBuffer. works only with dispose.
3 years ago
Sergey Mikolaitis
2565538fd3
[Text] improve benchmarks. add BuildManySmallTexts benchmark
3 years ago
Sergey Mikolaitis
84206e93dd
[Text] Optimize grapheme and add performance benchmark
3 years ago
Max Katz
b3eab25240
Fix tests build
3 years ago
Max Katz
8a78f134c5
Remove JetBrains.Annotations from the repo
3 years ago
Nikita Tsukanov
eaf2ce38a4
Context management
3 years ago
Max Katz
de039015ca
Small cleanup of warnings
3 years ago
Max Katz
c03187ff7c
Add a new benchmark
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
3 years ago
Steven Kirk
e074a70187
Refactored style invalidation/removal.
3 years ago
Steven Kirk
c29ed43e0e
Move attaching styles in tests to a helper.
The API is now internal, so this should prevent churn in the tests when the API changes.
3 years ago
Steven Kirk
1945345cd1
Rename TemplatedParent priority to Template.
It no longer represents just `TemplatedParent` bindings, but every value or binding created by a template.
3 years ago
Steven Kirk
326dac2328
Refactored how we switch control themes.
Instead of simply wiping all control themes and styles that are applied to a control, we can now just remove the `ValueFrame`s which relate to the control theme that was changed.
To do this, added `ValueFrame.FramePriority` which encodes both the `BindingPriority` and source of the frame (style, control theme, templated parent control theme).
3 years ago
Steven Kirk
273124603f
Added benchmark for changing control theme.
3 years ago
Steven Kirk
1a338ac087
Remove IStyler and make style apply internal.
- Removes the `IStyler` service and the `Styler` implementation
- Moves the logic for applying styles and control themes into `StyledElement`
- Removes the style `TryAttach` method from the public API
- Removes style caching for now - this will need to be added back
3 years ago
Steven Kirk
0db8d5a2d2
Refactored style attach benchmark.
Now tries to simulate an application with a lot of styles applied at different points in the logical tree.
Make `StyledElement.ApplyStyling` a public API in order to do this.
3 years ago
Max Katz
07d53775ba
Make all themes AOT friendly by moving StyleInclude to the XAML
3 years ago
Benedikt Stebner
17b2834d21
Implement letter spacing
3 years ago
Giuseppe Lippolis
cb0993b5fc
fix: double declaration OutputType
3 years ago
Benedikt Stebner
a4a24c2fa5
Remove GlyphTypeface.PlatformImpl
3 years ago