On Fri, 28 Jun 2024 08:01:09 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
>> With the headless platform that I started in the sandbox project, there is >> the concept of headless, but rather than compiling native code with `#ifdef >> HEADLESS` the current approach is to avoid those native compilations at all. >> However, I don't exclude that some parts of a file might make sense for a >> headless glass platform, where other parts should not be considered. In that >> case, the `ifdef HEADLESS` and in general the compile option `-DHEADLESS` >> would make sense. >> While this is not needed at this moment (and not even sure it will ever be >> needed), I am slightly in favor of keeping it here. > > I already did the removal earlier, but I can bring it back once we come to an > agreement. Johan makes a good point, so go ahead and add it back. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1490#discussion_r1658725278