Re: JavaFX graphics performance and suitability for advanced animations

2013-05-29 Thread Hervé Girod
Hello, Concerning my previous question, is it planned to provide some kind of shape drawing for JavaFX 8 in the graphic context, or is it safer to assume that the scene graph will be the preferred way to handle this (apart from the svgpath drawing of course)? I have the same kind of question

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Hervé Girod
I don't know if there is the same behavior in JavaFX as in Swing, but using Swing for complex animated rendering of texts, we discovered that if we used the standard way of daring the strings in a Graphics2D, there was a kind of Jitter on each String when moving or rotating the texts, the

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Hervé Girod
-- but also much slower. The other option is to treat them as images and not snap-em. Not as nice but probably quite decent for a lot of stuff and a *lot* faster. On May 31, 2013, at 3:10 PM, Hervé Girod herve.gi...@gmail.com wrote: I don't know if there is the same behavior in JavaFX as in Swing

Re: Dumping the rendering process in JavaFX

2013-06-07 Thread Hervé Girod
more on JemmyFX lookup: http://hg.openjdk.java.net/openjfx/8/master/tests/raw-file/tip/tools/Jemmy/JemmyFX/samples/org/jemmy/samples/index.html Shura On 06/07/2013 05:42 PM, Richard Bair wrote: Begin forwarded message: *From:* Hervé Girod herve.gi...@gmail.com mailto:herve.gi...@gmail.com

Re: Custom shaders for JavaFX

2013-06-21 Thread Hervé Girod
It's already possible to do this in Swing usine JOGL, and draw a swing hierarchy in an external OpenGL context, but its still *lot* of work to do, and it involve some amount of tricks to lure swing that it is drawing in its own context. Still it would be great to be able to do it put of the box

Drag and touch gestures

2013-07-01 Thread Hervé Girod
Hello, We tried to perform something as in iOS or Android where there is several active widgets, which can be selected by touch gestures, or dragged by drag gestures. However it seems that if we allow these two gestures on the same widget, the touch gesture takes precedence and the drag is

Re: JavaFX8 on iPhone! It works!

2013-07-05 Thread Hervé Girod
I'm with Tobias. Android class library has really stalled a lot compared to Java, and it wont improve in the future, and sticking to an outdated class library is not very interesting IMO. Beside we don't specifically need Android class library to compile AOT. Mono work on Android, and it even

Re: JavaFX8 on iPhone! It works!

2013-07-05 Thread Hervé Girod
not need the android java class library... Von meinem iPhone gesendet Am 05.07.2013 um 14:37 schrieb Hervé Girod herve.gi...@gmail.com: I'm with Tobias. Android class library has really stalled a lot compared to Java, and it wont improve in the future, and sticking to an outdated class

Re: Java 8 not supporting Windows XP

2013-07-23 Thread Hervé Girod
XP is not supporting multitouch, so as a user keeping XP to use JavaFX is not a good idea IMO. Hervé Sent from my iPhone On 23 juil. 2013, at 19:14, Pedro Duque Vieira pedro.duquevie...@gmail.com wrote: Microsoft is dropping Windows XP in 2014, maybe dropping Windows XP on 2014 would be

Re: Can JavaFX do CAD?

2013-07-24 Thread Hervé Girod
We switched a vector editor which used swing to JavaFX (using a standard called ARINC 661), and we have no problems of performance in the Editor even for thousands of nodes. But I agree that you should not use the obvious Swing-converted way to do the same thing in JavaFX. Hervé Sent from my

Re: Multiple JFXPanel?

2013-08-01 Thread Hervé Girod
We use a MDI Apple with Swing tabs where each tab contain one JFXPanel with an embedded Scene. We don't have any problem with thousands of Nodes in each Scene, and we did not experience any particular performance problems, at least in our use case. Hervé Sent from my iPhone On 1 août 2013,

Re: Default methods in JFX-8

2013-10-03 Thread Hervé Girod
There are already obvious and potentially huge performance gain when using parallel, even now. Sent from my iPhone On 3 oct. 2013, at 22:39, Danno Ferrin danno.fer...@shemnon.com wrote: On Thu, Oct 3, 2013 at 12:24 PM, Petr Pchelko petr.pche...@oracle.comwrote: Hello, OpenJFX Community.

Re: Lambdafication (was Re: Default methods in JFX-8)

2013-10-03 Thread Hervé Girod
Here is a nice example, taking advantage of the ease of going parallel. Apparently the performance without parallel will also further improve. http://blog.hersen.name/blog/2013/10/01/project-lambda-it-was-worth-the-wait/ Hervé Sent from my iPad On 4 oct. 2013, at 00:20, David Grieve

Re: JFXPanel vs. real world usage

2013-10-24 Thread Hervé Girod
There are maybe some components or use cases where the performance is not ok, but for our use cases, we also don't have any problem. Hervé Sent from my iPhone On 24 oct. 2013, at 20:10, rdarr...@yahoo.com wrote: I have the same experience. We're using this and it works ok as far as

Re: Performance-limiting characteristics of Nodes

2013-12-29 Thread Hervé Girod
I did not look at the presentation, but perhaps the Raspberry Pi itself is one if the key reasons for these performance problems. It is a great but limited device. I'm not taking at face value the claim that the Pi beats last year generation smartphones architecture. And I'm not sure that

Strange exception in ComboBox

2014-01-16 Thread Hervé Girod
Hello, We have a strange exception in ComboBox at least since b121. We create a child stage with one combobox, and we systematically have an exception when clicking on an item in the list because of a child added to a parent (ComboBoxListViewSkin) without removing it from the previous one

Re: Strange exception in ComboBox

2014-01-17 Thread Hervé Girod
things together and file them in a bug in jira, I can take a look. -- Jonathan On 17/01/2014 2:31 a.m., Hervé Girod wrote: Hello, We have a strange exception in ComboBox at least since b121. We create a child stage with one combobox, and we systematically have an exception when clicking

Touch events and CSS pseudo classes

2014-01-27 Thread Hervé Girod
Hello, I have a question about handling of touch events at the CSS level. I think that there is no standardization of what touch events are handled by pseudo classes in the CSS standard, but how does JavaFX does handle them? For example touching a button will not trigger the :pressed pseudo

Question about CSS styling

2014-02-19 Thread Hervé Girod
Hello, I have a question about how the CSS styling work, when a node skin use sub nodes. For example, the Button control uses a LabeledText, but it is not necessary to setup the style of the LabeledText inside the button to set the font of the button text (it is done in the button style

Re: Question about CSS styling

2014-02-19 Thread Hervé Girod
Thanks for your explanation, it's clear now! Hervé Sent from my iPhone On 19 févr. 2014, at 14:25, David Grieve david.gri...@oracle.com wrote: On 2/19/14, 5:07 AM, Hervé Girod wrote: Hello, I have a question about how the CSS styling work, when a node skin use sub nodes

Re: JavaFX 2 + with LWJGL ( OpenGL )

2014-04-06 Thread Hervé Girod
With Java 8 (JavaFX 8), you now have true 3D Nodes, with camera, texturing, etc... However it would still be very interesting to be able to control the low-level rendering of JavaFX, such as using LWJGL for example. This would allow to render JavaFx content in an external OpenGL context for

Re: Exposing native surface or opengl handle

2014-06-13 Thread Hervé Girod
I really think that pure JavaFX will always be better if you can, but in some cases you have to use external libraries using OpenGL, because you don't have the Java replacement, or it would be a LOT of work to recreate it. Hervé Sent from my iPhone On Jun 13, 2014, at 14:08, Tobias Bley

Re: 8u40 review request: RT-37793 performance problems in Canvas temp and clip buffers

2014-07-10 Thread Hervé Girod
Hello, I have a question about this (sorry if you explained it before): does rectangular clipping on regular Nodes has / had the same performance problems than with the Canvas? Hervé Sent from my iPhone On Jul 10, 2014, at 21:19, Jim Graham james.gra...@oracle.com wrote: Jira:

Re: 8u40 review request: RT-37793 performance problems in Canvas temp and clip buffers

2014-07-11 Thread Hervé Girod
implementation that relies on the Decora effect code which already does the clears in the optimal way... ...jim On 7/10/14 12:34 PM, Hervé Girod wrote: Hello, I have a question about this (sorry if you explained it before): does rectangular clipping on regular Nodes has / had the same

HUD elements on 3D elements

2015-01-13 Thread Hervé Girod
Hello and happy new year! We use JavaFX 3D and we would like to present 2D labels or panels at the screen position of some 3D Nodes. Is it possible to observe the screen position of 3D Nodes to be able to update the position of these labels in the HUD? Hervé Sent from my iPhone

Setting hover by the API

2015-03-31 Thread Hervé Girod
Hello, We have a use case where we need to set a kind of bounding box around Nodes to be able to select them easily by touch. In our case we use an interactive transparent Pane containing the Nodes (which are set as transparent to mouse events). We also need to handle correctly the hover

Re: Canvas performance on Mac OS

2015-03-31 Thread Hervé Girod
Why don't you use Nodes rather than Canvas ? Sent from my iPhone On Mar 31, 2015, at 22:31, Chris Newland cnewl...@chrisnewland.com wrote: Hi Jim, Thanks, that makes things much clearer. I was surprised how much was going on under the hood of GraphicsContext and hoped it was just

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Hervé Girod
I think that Oracle people are right. It's more a JDK 9 or jigsaw issue than a JavaFX issue. Sent from my iPhone On Apr 8, 2015, at 20:22, Tomas Mikula tomas.mik...@gmail.com wrote: My concern is that issues with existing workarounds were given lower priority. Now many workarounds will

Re: Private APIs not usable in Java 9?

2015-04-08 Thread Hervé Girod
Do you need a specific classification for such JIRAs? Sent from my iPhone On Apr 8, 2015, at 22:05, Danno Ferrin danno.fer...@oracle.com wrote: On Apr 8, 2015, at 1:52 PM, Robert Krüger krue...@lesspain.de wrote: our only workaround is to use private API For the benefit of the devs on

Re: Understanding the com.sun.* APIs being (ab)used by the community

2015-06-03 Thread Hervé Girod
I know that it's the openjfx list, but are you also interested on other internal APIs usages? Hervé Sent from my iPhone On Jun 3, 2015, at 08:17, Jonathan Giles jonathan.gi...@oracle.com wrote: Hi folks, I've written a tool that analyses the output of JDeps. This allows for me to

Re: Understanding the com.sun.* APIs being (ab)used by the community

2015-06-03 Thread Hervé Girod
and then you would probably want to notify the authors of that code. -phil. On 06/03/2015 09:01 AM, Hervé Girod wrote: I know that it's the openjfx list, but are you also interested on other internal APIs usages? Hervé Sent from my iPhone On Jun 3, 2015, at 08:17, Jonathan Giles

Re: Multiple imports of CSS files in subdirectories

2015-08-18 Thread Hervé Girod
I think it has been fixed for u60. Sent from my iPhone On Aug 18, 2015, at 16:43, Thomas Meyer meyer...@gmail.com wrote: Hi, I’m using @import statements to spilt up my CSS code into multiple files in subdirectories. All imports are listed in one base css file: base.css: @import

Re: Results of review of private JavaFX API for consideration to make public in JDK 9

2015-08-10 Thread Hervé girod
It passed under my radar that we use classes in com.sun.javafx.css, and com.sun.javafx.css.parser, mainly : - CSSParser - Stylesheet - Selector - Rule The use case is to be able to process JavaFX stylesheets properties. Hervé Sent from my iPad On 7 août 2015, at 01:10, Jonathan Giles

Re: Results of review of private JavaFX API for consideration to make public in JDK 9

2015-08-10 Thread Hervé girod
will be posted in the next week or two. Keep your eyes peeled :-) -- Jonathan On 11/08/2015 4:42 a.m., Hervé girod wrote: It passed under my radar that we use classes in com.sun.javafx.css, and com.sun.javafx.css.parser, mainly : - CSSParser - Stylesheet - Selector - Rule The use case

Re: JEP 253 webrev ready for review

2015-09-05 Thread Hervé Girod
It seems to be a very good idea! Sent from my iPad > On 4 sept. 2015, at 07:25, Jonathan Giles wrote: > > For what it's worth, I think enabling this is a really good idea. The > starting point is StyleConverter.java - it currently just hard codes all > available

Re: Future of JavaFX

2015-12-01 Thread Hervé Girod
Things are not different for Apache projects. Google does not accept any external contributions. The Linux kernel development is very tightly controlled. We should stop considering that widespread open source policies are only a problem with JavaFX. These policies are in place for a reason.

Re: Text differences between OSes

2015-12-26 Thread Hervé Girod
In my memory the point size in Unix systems and Windows do not consider the same default screen density. See this for example: http://www.rfwilmut.clara.net/about/fonts.html Hervé Sent from my iPhone > On Dec 26, 2015, at 23:05, Tom Eugelink wrote: > > Maybe someone can help

Traversal sub-system

2016-02-16 Thread Hervé Girod
Hello, I'm sure this has already been answered before in this list, but is it planned to move the existing traversal sub-system (focus system) to a public API for JDK 9? Hervé Sent from my iPad

Re: Scene graph performance

2016-07-21 Thread Hervé Girod
ick <felix.bembr...@gmail.com> wrote: > > Are you using nodes, transitions, effects and animations? Or are you using > the Canvas node only? > >> On 22 Jul 2016, at 07:33, Hervé Girod <herve.gi...@gmail.com> wrote: >> >> I really don't understand all

Re: gesture events at JFXPanel

2017-06-19 Thread Hervé Girod
Multitouch events are not handled at the swing layer, so normally they can not be detected in the JavaFX controls. Hervé Sent from my iPad > On 19 Jun 2017, at 13:01, Kaesbauer, Michael > wrote: > > Hi everybody, > > I try to embed JavaFX controls in a swing

Re: More community participation in JavaFX

2018-02-07 Thread Hervé Girod
I have coded such a framework in one of my open source projects. I can extract this code and setup a github project for it if people are interested. Hervé Sent from my iPhone > On Feb 7, 2018, at 10:52, John-Val Rose wrote: > > > > Well, not only do I think that a

Re: Regression in 1.8.0_102

2018-02-21 Thread Hervé Girod
.openjdk.java.net/browse/JDK-8183100 >It has been resolved in upcoming JDK 10 & also in upcoming 8u172 update. >You can try out early access builds at - http://jdk.java.net/ - and see if > you still see the issue. > > Regards, > Ajit > > > -Ori

Re: Regression in 1.8.0_102

2018-02-21 Thread Hervé Girod
ted > issue - https://bugs.openjdk.java.net/browse/JDK-8183100 >It has been resolved in upcoming JDK 10 & also in upcoming 8u172 update. >You can try out early access builds at - http://jdk.java.net/ - and see if > you still see the issue. > > Regards, > Ajit > &g

Regression in 1.8.0_102

2018-02-21 Thread Hervé Girod
Hello, We discovered a regression seemingly in how css properties are applied for fonts in some cases beginning with 1.8.0_102. It was OK with 1.8.0_92 and it is also KO in 9.04. The problem are some fonts which are not rendered when applying a css style. In our case the background is black

Re: GraphicsContext and export to vector format files

2020-11-02 Thread Hervé Girod
Hello, Ivhabe created some time ago an OpenSource project called jfcClnvertercwhichvtefurect the Jz aFX calls to a Graphics2D context. I don’t know if it answers at least partially to this need. The project is here: https://sourceforge.net/projects/jfxconverter/ Hervé Sent from my iPhone >

Re: Layering JavaFX onto an external rendering context

2021-02-15 Thread Hervé Girod
I did that with OpenGL some time ago. I should setup a GitHub project to show how it can be done. Sent from my iPhone > On Feb 15, 2021, at 14:41, Mark Raynsford wrote: > > Hello! > > I'd like to use JavaFX for the UI of an application that will > involve rendering using an existing