Previews for shared buffer PR
kevin.rushforth at oracle.com
Thu Jun 13 18:06:11 UTC 2019
The JDK has two mechanisms for introducing "experimental" features:
1. Preview features, which are new language or VM features that are
enabled by a command line switch
2. Incubator modules for new library code
Neither of those address adding API to an existing package / class in an
existing module, and it would be a fair bit of work to refactor it into
an incubator module, not to mention the work needed to deliver a new
On 6/13/2019 8:30 AM, Tom Schindl wrote:
> This is good news but may I suggest we do something similar to OpenJDK
> who also has explictly marked experimental/preview features shipping in
> releases who can naturally get removed in a follow up release.
> I would appreciate this in contrast to not getting this feature
> integrated at all in FX-13.
> On 07.06.19 11:40, Johan Vos wrote:
>> The PR discussed in https://github.com/javafxports/openjdk-jfx/pull/472,
>> addressing https://bugs.openjdk.java.net/browse/JDK-8167148 provides a very
>> much wanted feature. It is important that things are done in the right way
>> so that the code can be maintained in the long-term future.
>> Therefore, feedback on this PR is extremely important before we can
>> consider merging it. Once this PR is merged, there is no easy way back. It
>> is possible to add more functionality, hence my preference is to only
>> implement the functionality that is safe and stable, while allowing other
>> functionality to be added later or by third-party extensions. (e.g.
>> (avoiding) copying from/to GPU)
>> To make it easier to give feedback, we've build early access versions of
>> SDK's including this PR. Note that the PR is not merged, hence not
>> available in the regular EA downloads!
>> If you want to give it a try, download the SDK's from the URL's below.
>> There is a test in tests/manual/graphics/PixelBufferPerformanceTest (
>> that should get you started.
>> - Johan
More information about the openjfx-dev