Re: Layering JavaFX onto an external rendering context

2021-02-16 Thread Mark Raynsford
On 2021-02-16T16:09:04 + Neil C Smith wrote: > > I agree with you, and have certain similar requirements, like being > able to allow GStreamer and JavaFX to share GPU contexts. In fact, > was bugging Johan about this in the chat around his FOSDEM talk, and > promised to follow up here, so mig

Re: RFR: WIP: 8260528: Clean glass-gtk sizing and positioning code [v9]

2021-02-16 Thread Thiago Milczarek Sayao
> This is a new approach to rewrite parts of gtk glass backend to be more clean. > > I will provide small "manageable" PR to incrementally make the backend better. > > This PR adresses cleanup of the Size and Positioning code. It makes code more > "straightforward" and easier to maintain. > > C

Re: RFR: WIP: 8260528: Clean glass-gtk sizing and positioning code [v8]

2021-02-16 Thread Thiago Milczarek Sayao
> This is a new approach to rewrite parts of gtk glass backend to be more clean. > > I will provide small "manageable" PR to incrementally make the backend better. > > This PR adresses cleanup of the Size and Positioning code. It makes code more > "straightforward" and easier to maintain. > > C

Re: Layering JavaFX onto an external rendering context

2021-02-16 Thread Michael Strauß
The main problem with this idea is that there is no universally available hardware rendering backend in JavaFX. There's OpenGL on Linux and macOS, Direct3D on Windows, and potentially a software renderer on all platforms. One approach might be to create a new ANGLE rendering backend, which would a

Re: Layering JavaFX onto an external rendering context

2021-02-16 Thread Mark Raynsford
On 2021-02-15T14:54:43 +0100 Hervé Girod wrote: > I did that with OpenGL some time ago. I should setup a GitHub project to show > how it can be done. > I appreciate the response, but there is a difference between "I did it" and "there's actually a good, officially supported way to do this". I'v

Re: RFR: 8252935: Add treeShowing listener only when needed [v6]

2021-02-16 Thread Kevin Rushforth
On Wed, 10 Feb 2021 21:56:01 GMT, John Hendrikx wrote: >> This is a PoC for performance testing. >> >> It contains commented out code in PopupWindow and ProgressIndicatorSkin and >> two tests are failing because of that. >> >> This code avoids registering two listeners (on Scene and on Windo

Re: Layering JavaFX onto an external rendering context

2021-02-16 Thread Neil C Smith
Hi Mark, On Tue, 16 Feb 2021 at 15:27, Mark Raynsford wrote: > But it seems to me like those projects shouldn't _have_ to exist. It > seems like a bit of a design flaw that there isn't an efficient code > path to do something (relatively) simple like this. > > Has anyone given any thought as to w

Re: RFR: 8239589: JavaFX UI will not repaint after reconnecting via Remote Desktop

2021-02-16 Thread Kevin Rushforth
On Thu, 11 Feb 2021 00:17:10 GMT, Kevin Rushforth wrote: >> I moved it to Draft before noticing that there were additional commits after >> your last comment that I had missed seeing earlier, so I moved it back to >> RFR. > > This is a good starting point, but it will need additional work, poss