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!
10 years ago
Steven Kirk
bae15f3ec4
Update dirty controls in order.
10 years ago
Steven Kirk
6d3ca92a4c
WIP: Getting resizing working.
10 years ago
Steven Kirk
ec2998728e
Store layers in Scene.
Layers are now calculated by SceneBuilder and stored in Scene. This
means we are no longer accessing `visual.Opacity` from the render thread
(and `VerifyAccess` calls have been placed in AvaloniaObject.GetValue
and friends to ensure this cannot happen). ControlCatalog is now
rendering mostly fine.
10 years ago
Steven Kirk
97ea14d58c
More work on deferred renderer.
Getting opacity layers working.
10 years ago
Steven Kirk
e222e92340
Add option to draw dirty rects.
10 years ago
Steven Kirk
d34c279ba1
WIP: Adding render layers.
10 years ago
Steven Kirk
49d94f3075
Merge pull request #819 from VitalElement/fixes/fix-devtools-crash
Fixes crash in DevTools
10 years ago
danwalmsley
16217119e7
GridSplitter no longer has an orientation property.
10 years ago
Steven Kirk
a01412625f
Merge pull request #817 from SuperJMN/patch-1
Added remark for RenderTransformOrigin
10 years ago
José Manuel Nieto
971962f014
Added remark for RenderTransformOrigin
10 years ago
Jeremy Koritzinsky
15de0387a7
Merge pull request #813 from jkoritzinsky/Set-Indexer-Node
Make it possible to set the value of an indexer binding
10 years ago
Jeremy Koritzinsky
058e28640c
Fixed some whitespace.
10 years ago
Jeremy Koritzinsky
1dc96e4184
Added more tests.
10 years ago
Jeremy Koritzinsky
b038ed55ee
Add ability to set the value pointed to by an indexer node.
10 years ago
Jeremy Koritzinsky
7f043a5c46
Merge pull request #801 from susloparovdenis/gridsplitter
Removed Orientation Property from GridSplitter.
10 years ago
susloparov
8704235b66
Added test for GridSplitter
10 years ago
Steven Kirk
1f985abaa6
Refactored VisualNode.
It now has two collections: Children and DrawOperations.
10 years ago
Steven Kirk
675b74225c
Remove unneeded cast.
10 years ago
Steven Kirk
a6f5631f41
Fix geometry measure.
10 years ago
Steven Kirk
04fe4a0c57
Fix RectangleNode bounds.
10 years ago
Steven Kirk
6b6474bc8d
Fix bounds clipping.
10 years ago
Steven Kirk
64287fe148
Prevent out-of-bounds in DirtyRects.Coalesce.
10 years ago
Steven Kirk
584cdbb133
Make FormattedTextImpl immutable.
Because it needs to be shared between the UI thread and the render
thread. This also required making it non-disposable like the other
graphics primitive impls.
10 years ago
Steven Kirk
9ebfa5cd0c
Make SharpDX dispose of its resources.
10 years ago
Steven Kirk
c46ca88b97
Make IGeometryImpl immutable.
As it will be shared with the UI thread and the render thread.
10 years ago
Denis
d03662a373
Not throw exception in last or first position.
10 years ago
susloparov
2e813c867d
Removed Orientation Property from GridSplitter
It's possible to unambiguously detect orientation based on
Column/RowDefenitions or other elements.
10 years ago
Steven Kirk
76ec613dea
Use correct bounds in VisualNode.
10 years ago
Steven Kirk
8578cce8fd
Simplification.
Previous code was me trying to work something out.
10 years ago
Steven Kirk
7dde754861
Don't keep rendering when there's nothing to render.
10 years ago
Steven Kirk
df014bdac4
Use null _dirty as meaning "needs first update".
10 years ago
Steven Kirk
43c95346b6
Fix non-compiling tests.
10 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
10 years ago
Steven Kirk
d9d5e8b6ac
Prevent reentrancy in renderer.
10 years ago
Steven Kirk
db26fe3626
Special case for hit testing in unit tests.
When not in a unit test, only update the scene from the render loop.
10 years ago
Steven Kirk
2d5a8f3809
Removed unnecessary field.
10 years ago
Steven Kirk
9f0a85a093
Move FPS drawing out of inner loop.
10 years ago
Steven Kirk
52c3daea11
Initial implementation of dirty rect drawing.
10 years ago
Steven Kirk
34227686d4
Render child visual nodes explicitly.
Render them in DeferredRenderer rather than in VisualNode.
10 years ago
danwalmsley
898bec7750
Merge pull request #805 from VitalElement/fixes/dont-cover-taskbar-with-system-decorations-hidden
Fixes/dont cover taskbar with system decorations hidden
10 years ago
Dan Walmsley
4fbb262eef
Merged branch fixes/dont-cover-taskbar-with-system-decorations-hidden into fixes/dont-cover-taskbar-with-system-decorations-hidden
10 years ago
Dan Walmsley
3e5d0e69b0
fix indentation.
10 years ago
Dan Walmsley
1ab0a87780
fix comments.
10 years ago
danwalmsley
022cbf64b8
Merge branch 'master' into fixes/dont-cover-taskbar-with-system-decorations-hidden
10 years ago
Dan Walmsley
43cac2c562
Renamed property to CoverTaskbarWhenMaximized.
10 years ago
Dan Walmsley
4c4342e2dd
refactored to seperate method.
10 years ago
Dan Walmsley
198f18df66
Fix indentation.
10 years ago
danwalmsley
4afe10a09a
Merge pull request #797 from jkoritzinsky/Save-WindowIcon
Added a method to save an icon to a stream. This enables the scenario…
10 years ago
danwalmsley
7b0c4f780f
Merge branch 'master' into Save-WindowIcon
10 years ago