Benedikt Schroeder
eb273c0fcb
Inital
8 years ago
Steven Kirk
2d1ab0a106
Only update clip bounds when ClipToBounds = true.
Fixes #1436
8 years ago
Benedikt Schroeder
27a666467c
Initial
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
Steven Kirk
87d7f65eb8
Added failing test for #1420 .
8 years ago
Jeremy Koritzinsky
8817910549
Add ref-counting for the scene instance in DeferredRenderer to ensure that we don't dispose a scene while it is being rendered.
Also rename Scene.Clone to Scene.CloneScene to prevent confusion between IRef<Scene>.Clone and Scene.Clone.
8 years ago
Jeremy Koritzinsky
74f8930277
Fixed bug in TrimDrawOperations that wasn't disposing draw operations correctly.
8 years ago
Jeremy Koritzinsky
7e174a79e0
Refactored refcounting and added tests for refcount tracking in the DeferredRenderer and friends.
8 years ago
Jeremy Koritzinsky
8b97174735
Fix tests to correctly access the item of the ref-counted instance.
8 years ago
Jeremy Koritzinsky
952f89883d
Fix build errors in SceneGraph and DeferredRenderer tests.
8 years ago
Steven Kirk
30e78dc5b6
Only run unit tests on .net core.
This allows us to run them on linux.
8 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Steven Kirk
52dcd41cd9
Don't dispose geometry impls.
We can't do this until we have ref counting infrastructure in, as the impls may still be in use by the deferred renderer.
8 years ago
Steven Kirk
d2e1eba876
Refactored geometry.
There were a number of problems with `Geometry` and its subclasses and platform implementations. Fix these, for more details see the PR that this commit is a part of.
8 years ago
Steven Kirk
42f0f6a23f
Added failing test for #1343 .
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Jeremy Koritzinsky
39d5ac957f
Fix test.
8 years ago
Jeremy Koritzinsky
f65ae1918f
Change TransformedBounds to a direct property on Visual (exposed on IVisual) instead of using an attached property in BoundsTracker.
8 years ago
Steven Kirk
2a87dbd6ca
Fix opacity mask rendering.
We're potentially creating a new immutable version of the opacity mask each time the `VisualNode` is updated. Need to implement comparison between mutable and immutable brushes.
8 years ago
Steven Kirk
1d1f31794e
Fix layers with opacity.
We were pushing the opacity twice.
8 years ago
Steven Kirk
e6b5df8d08
Simplified DeferredRendererTests,
8 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
8 years ago
Steven Kirk
9609d93f3b
Don't create render layers for non-parent controls.
Only create a new render layer when a control has both an animating opacity _and_ children.
9 years ago
Steven Kirk
68bdbca899
Only create render layers when Opacity is animating.
Previously we were creating a new render layer for all controls with `Opacity != 1`. This was causing the `Calendar` page in ControlCatalog to render _really_ slowly. Instead, only create a new render layer when `Opacity` is being animated.
Also don't even render controls where `Opacity == 0`.
9 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
9 years ago
Steven Kirk
880cf657ec
Accept root in IRenderer.HitTest.
Fixes #1221 .
9 years ago
Steven Kirk
e3d34f2eb8
Added a failing test for #1221
9 years ago
Steven Kirk
d1eb0512bb
Added failing test for #1171 .
9 years ago
Steven Kirk
5fd6f5ac6d
Snap bounding boxes to pixels.
9 years ago
Steven Kirk
685a509c5c
Reimplement commented-out tests.
9 years ago
Steven Kirk
bb5a7f0cd3
Removed IRenderLayerFactory
And use `IDrawingContextImpl.CreateLayer` instead.
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Steven Kirk
b5317085af
Tweaked formatting.
9 years ago
Eli Arbel
cbdc1b16a5
Improve known color/brush parsing
9 years ago
Eli Arbel
898e7e4747
Using a tokenizer instead of string split
9 years ago
Dan Walmsley
b18d91ff74
Add inline data that tests comma seperated bezier curves.
9 years ago
Eli Arbel
42115b6ade
Fix #1107
9 years ago
Eli Arbel
d9b20fada4
Rect parse & type converter
9 years ago
Eli Arbel
8cc6d30696
Matrix.Parse & type converter
9 years ago
Steven Kirk
7de42e02e1
Clear scene for invisible root visuals.
When a root visual is hidden, clear `DeferredRenderer._scene` and completely rebuild it if it is shown again.
Fixes #1096
9 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
9 years ago
Steven Kirk
0f81420ee2
Don't remove root layer when hiding root.
9 years ago
Steven Kirk
024573ddd5
Removed bad project references.
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
425a670b9d
Added immediate renderer hit tests.
Ported from `scenegraph`. Tests from
`VisualExtensionsTests_GetVisualsAt` moved there.
9 years ago
Steven Kirk
7119464206
Added ImmediateRenderer hit tests.
9 years ago
Steven Kirk
19a8b8aaf2
Moved hit testing tests.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago