okay, we w#ll do this soon. It's currently inside a bigger project.
Since the performance lag is huge, I am not sure how any application could work 
;)

Technical spoken... I have seen the implementation is something like this:

1. creating a standard swing panel
2. call the software rendering process from paintComponent
2.1. basically, inside the rendering the following is done:
        1. capturing the JFX Scene to an IntBuffer. Just this step is very 
hardware dependent. The capturing from an opengl context is very different for 
any graphics card.
        2. passing the IntBuffer to java 
        3. draw the IntBuffer to a graphics object


From my perspective this code can be used to get nothing better than 10fps on a 
current state PC, while
a direct capsulation of the opengl context would be fps unlimited.


regards
Matthias




Am 24.10.2013 um 21:05 schrieb Stephen F Northover 
<steve.x.northo...@oracle.com>:

> Please enter a JIRA with your sample code attached.
> 
> Steve
> 
> On 2013-10-24 2:37 PM, Tobias Bley wrote:
>> I added a simple accordion as JFXPanel into a swing frame and the 
>> performance is not good. the cpu usage goes up to 100% when moving the mouse 
>> over the accordion title panes (hover effect). The resizing performance is 
>> bad too.
>> 
>> 
>> Am 24.10.2013 um 20:10 schrieb rdarr...@yahoo.com:
>> 
>>> I have the same experience. We're using this and it works ok as far as 
>>> performance.
>>> -----Original Message-----
>>> From: Pedro Duque Vieira <pedro.duquevie...@gmail.com>
>>> Sender: openjfx-dev-boun...@openjdk.java.net
>>> Date: Thu, 24 Oct 2013 18:20:42
>>> To: OpenJFX Mailing List<openjfx-dev@openjdk.java.net>
>>> Subject: RE: JFXPanel vs. real world usage
>>> 
>>> Hi Matthias,
>>> 
>>> I don't see any problems with performance and I've been using this a lot.
>>> 
>>> Best regards,
>>> 
>>> -- 
>>> Pedro Duque Vieira
>>> 
>>> 
> 

Reply via email to