RFR: 8322619 Parts of SG no longer update during rendering - overlapping - culling - dirty [v3]

Lukasz Kostyra lkostyra at openjdk.org
Wed Mar 13 09:30:21 UTC 2024


On Wed, 13 Mar 2024 09:13:20 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

> Maybe we could make snapshot based tests? That should work on all platforms, right?

We have a whole suite of tests which use similar methods to perform checks, called robot tests. Since you want to check if a node was properly updated, and the best way to do that seems to be checking RGB values, I think a test for this case belongs right there.

You could use robot utility to check color values of specific pixels on the screen. I think the best way to go about it would be to do something similar to what your test bug apps do (the ones attached to the JBS issue). Ideally I would try and look for first some form of confidence check (if correct controls are "on" and "off"), then progressing the animation and seeing if controls updated as intended.

All robot tests are located in `tests/system/src/test/java/test/robot` and then they follow package names. I'm not 100% sure where this test should go though (I assume `.../javafx/scene`?).

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

PR Comment: https://git.openjdk.org/jfx/pull/1310#issuecomment-1993911947


More information about the openjfx-dev mailing list