RFR: 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow [v3]

Alexander Zvegintsev azvegint at openjdk.org
Tue Aug 15 12:27:06 UTC 2023


On Tue, 15 Aug 2023 09:59:42 GMT, Laurent Bourgès <lbourges at openjdk.org> wrote:

>  Why 2s and not more or less ?

This is the average value chosen so as not to slow down test execution, and not to annoy the user with the "Screen is being shared" icon ![image](https://github.com/openjdk/jdk/assets/77687766/ded56ab9-c38d-4640-af8b-e2e116f6779e)

> The delay could be set through a system property ?

This functionality could be added, but I don't see much reason to do so. 
If a screenshot is taken from time to time, the benefit of holding the session for a long time will be quite small compared to frequent requests.
Plus it requires some CSR work.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15250#discussion_r1294525745


More information about the client-libs-dev mailing list