[Screen Ruler] optimize d3d device & continuous capture mode (#20198)

* [Screen Ruler] Exclude overlay window from capture

* [Screen ruler] Sync OverlayUI threads creation and don't recreate d3d device
This commit is contained in:
Andrey Nekrasov
2022-08-31 17:43:32 +03:00
committed by GitHub
parent 76ebed0897
commit c7d1465946
13 changed files with 207 additions and 103 deletions

View File

@@ -177,7 +177,7 @@
<value>Draw feet on cross</value>
</data>
<data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve">
<value>Adds feet to the end of cross lines. Always off for continuous capture.</value>
<value>Adds feet to the end of cross lines.</value>
</data>
<data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve">
<value>Enable Screen Ruler</value>
@@ -2374,7 +2374,7 @@ Activate by holding the key for the character you want to add an accent to, then
<value>Learn more about conflicting activation commands</value>
</data>
<data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve">
<value>The continuous capture mode will consume more resources when in use. In addition, the UI will be slightly offset from the pointer position.</value>
<comment>pointer as in mouse pointer. resources refer to things like CPU, GPU, RAM</comment>
<value>The continuous capture mode will consume more resources when in use.</value>
<comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment>
</data>
</root>