Checks if the DirtyRegionMode property is present in GraphicsCaptureSession and logs a boolean histogram with the result. Detecting support for this property means that the WGC API supports dirty regions and it can be utilized to improve the capture performance and the existing zero-herz support. See also https://issues.chromium.org/issues/347991512 for more details on how to detect support for dirty regions in WGC. Bug: chromium:40259177 Change-Id: Ia316c4ece54bd93cfef1fa23c199675c64143f76 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362240 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43015}