Re: Adding @since tags

2013-05-28 Thread Richard Bair
Hi Pavel, This sounds great! I'm almost ready with a tool that generates @since tags to JavaFX API. My question is what should I generate. Essentially, there are three releases with added API: 2.0, 2.2 and 8.0. How does it work? Specifically, if an API was not tagged in 2.2, and is not

Re: Adding @since tags

2013-05-28 Thread Richard Bair
Another question, when a class is added in a release, do you add @since to the class but *not* the methods, or do you tag both the class and the methods? It seems more foolproof to tag both the class methods, but I don't think that is how they do it on the JDK side. I add it only to the

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-29 Thread Richard Bair
Did we try turning cache to true and cache hint to SPEED? A simple game I wrote used some basic animation of about 50 nodes with effects applied to them (translucent, blur, sectioned viewports into a large Image) and without caching ran painfully slowly. Setting caching to true and

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-29 Thread Richard Bair
If avoiding confusion is your goal, I'd suggest avoiding using performance as a synonym for fps. 'fps' seems like a pretty good term to use for 'fps' ;) OK. I'll try to stick to speed and jitter (or one of its synonyms.

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-29 Thread Richard Bair
As ever, just a suggestion. I'll leave it at that so we can get back to the real issues. So, back to the real issues :-). Here is a good JIRA query:

Re: Backwards compatibility issue?

2013-05-30 Thread Richard Bair
Possibly, what is the stack trace? On May 30, 2013, at 8:24 PM, Daniel Zwolenski zon...@gmail.com wrote: While trying to narrow down the rendering/performance/whatever issues with the game, I just opened up the JAR that I'd previously built for it:

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Richard Bair
-jira.kenai.com/browse/RT-29801 Richard Bair wrote: Have you tried to determine what the FPS is? My guess is that FPS is not anywhere near the limit and it is the occasional stutter that is the problem, but I'm not certain. Knowing that helps to point in which direction to go. The fact

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Richard Bair
Patch attached to https://javafx-jira.kenai.com/browse/RT-29801. I'm not seeing any stutter on my Mac, interested to hear the experience on Windows. Richard On May 31, 2013, at 8:44 AM, Richard Bair richard.b...@oracle.com wrote: Ya I did the same, am now adjusting it so the factor by which

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Richard Bair
this. Scott On Fri, May 31, 2013 at 12:08 PM, Richard Bair richard.b...@oracle.com wrote: The link didn't work for me, is there another link? (It came up with a page of videos, the top one being video.3gp) Richard On May 31, 2013, at 8:46 AM, Daniel Zwolenski zon...@gmail.com

Re: Backwards compatibility issue?

2013-05-31 Thread Richard Bair
This is not so much a question of what can I do to fix this, as highlighting the fact that an app built on b13 and then run on b23 is utterly broken. With auto updating jre's this means someone who has an app in the wild will suddenly have it break for all their customers. Massive backwards

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Richard Bair
2013, at 00:43, Richard Bair richard.b...@oracle.com wrote: Yes, and sounds like what we want to do with Text. Basically in your swing example you were treating the text as outlines rather than glyphs. It draws much nicer -- but also much slower. The other option is to treat them as images

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Richard Bair
The text in PowerPoint is very likely outlines (treat the text as shapes) since there isn't much text per slide and its usually very large (in fact most render engines stop rendering text as glyphs at a given size -- for us it is 80pt.). H. I wonder if you used an 81pt font and scaled

Re: JavaFX graphics performance and suitability for advanced animations

2013-05-31 Thread Richard Bair
The text in PowerPoint is very likely outlines (treat the text as shapes) since there isn't much text per slide and its usually very large (in fact most render engines stop rendering text as glyphs at a given size -- for us it is 80pt.). H. I wonder if you used an 81pt font and scaled

Performance Tips n' Tricks wiki page

2013-06-03 Thread Richard Bair
Hi, We had a brief meeting this afternoon and kicked off a performance tips n' tricks wiki page, which is presently a dumping ground of ideas that will get massaged into something useful. The content on this wiki will then be used by the docs team to produce some official documentation that

Re: Performance Tips n' Tricks wiki page

2013-06-03 Thread Richard Bair
Dan, Thanks for the thoughts / questions, I've added them to the tail of the wiki for processing. 1) turning cache to true and cache hint to SPEED I haven't seen explained what the drawbacks are to doing this. I assume there is some trade-off for turning this on otherwise it would be on by

Re: Performance Tips n' Tricks wiki page

2013-06-03 Thread Richard Bair
Thanks Pedro, will put these on the wiki. The layout vs. bind is an interesting question and one that isn't entirely clear. I use some of both depending, really, on what is most natural for the case I'm facing rather than on a strict performance basis. Because Java doesn't have binding in the

Handling uncaught exceptions during event dispatching

2013-06-04 Thread Richard Bair
Hi, If I wanted to handle all uncaught exceptions that occurred during event dispatch (whether Mouse / Pulse / Key / Runnable / etc), how could I do it? I assume at present we can't. Is there a JIRA already for such a thing that anybody knows of? Thanks Richard

Re: Handling uncaught exceptions during event dispatching

2013-06-04 Thread Richard Bair
- From: openjfx-dev-boun...@openjdk.java.net [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Richard Bair Sent: Tuesday, June 04, 2013 1:38 PM To: OpenJFX Mailing List Subject: Handling uncaught exceptions during event dispatching Hi, If I wanted to handle all uncaught exceptions

JDK 8 dependency

2013-06-05 Thread Richard Bair
Hi guys, To help the JDK 7 back port effort, I wanted to bring up a JIRA issue which will have some impact on that back port to both let you know the issue and see what you think about it. Basically, until we fix this issue, the JDK cannot remove some code that they are planning to remove in

Re: [API review] RT-30668: ClipboardContent has buggy API

2013-06-05 Thread Richard Bair
Issue 1: Every putSomething method documentation says: * Setting this value to null effectively clears it from the clipboard. * @throws NullPointerException if null reference is passed We need to choose one of the two described behaviors. Currently the code throws NPE. For some

Re: ObservableValue Stacktrace

2013-06-06 Thread Richard Bair
I don't think we ought to print to stdout or stderr in any case in the platform. A logger is a better idea. But really I think it is unlikely that this particular message will be that useful (it will be unhelpful in just as many cases). It is not uncommon for a chain to have a null in it at

Re: TextField Document model

2013-06-06 Thread Richard Bair
for doing advanced use cases. Thanks! Richard On Jun 3, 2013, at 10:06 AM, Richard Bair richard.b...@oracle.com wrote: I've filed https://javafx-jira.kenai.com/browse/RT-30881 and hoping to get this resolved for 8. Richard On Dec 4, 2012, at 8:23 AM, Richard Bair richard.b...@oracle.com

Re: Status or JDK/JFX8 builds for arm Linux

2013-06-10 Thread Richard Bair
There should now be weekly builds going out. Daniel do you have a link to where those are? Richard On Jun 8, 2013, at 9:22 AM, Robert Krüger krue...@lesspain.de wrote: Hi, I would like to check out how well JFX8 works on the Raspberry Pi and I only found the build from December. Is there

Re: Experience with piecewise migration Swing - JFX

2013-06-17 Thread Richard Bair
Also seen today: after closing the last JFXPanel while the Swing application continues, FX would exit the platform (not the VM) and you cannot use another JFXPanel. There is probably some workaround available. You want to call Platform.setImplicitExit(false). Please see

Re: javafx-font opensourced

2013-06-20 Thread Richard Bair
Yes, working on the web view building. The main issue is there are a handful of libs (libxml, libxslt, etc) that we have to figure out where to put. I believe these are unaltered by us, but built with different flags to strip out stuff we don't need. I've asked Peter whether we can post the

Re: javafx-font opensourced

2013-06-20 Thread Richard Bair
...@ozemail.com.au wrote: So when will we see this new native font rendering? Is it in b94? Also, will this result in an improvement in rendering quality? On 21/06/2013, at 14:35, Richard Bair richard.b...@oracle.com wrote: Up until now we've been using T2K to do font measurement / rasterizing

Re: javafx-font opensourced

2013-06-21 Thread Richard Bair
Are we talking Oracle or OpenJDK here. I got the impression those libs were Open? Right, it is confusing. Much of the code we (meaning the build system) are building all the time (for example, all of webkit or gstreamer). However some of it (libxslt, libxml, some others) we have only built

Re: javafx-font opensourced

2013-06-21 Thread Richard Bair
see any reason not to do this but you seem reluctant? What's the reason for the reluctance? On Fri, Jun 21, 2013 at 5:14 PM, Richard Bair richard.b...@oracle.com wrote: Are we talking Oracle or OpenJDK here. I got the impression those libs were Open? Right, it is confusing. Much

Re: Custom shaders for JavaFX

2013-06-21 Thread Richard Bair
1. What are Oracle's plans (if any) for custom shader support in future versions of JavaFX? What we've been looking at is not custom shaders, but the ability to allow an application to do all its own OpenGL and give it back to us. Custom shaders might be viewed as a separate issue, such

Re: Moving to Gradle (finally)

2013-06-25 Thread Richard Bair
Until this Friday when the project reorganization is complete, you must run: gradle -b generator.gradle in the rt first, and then cd ../javafx and run gradle from there. The gradle files in the current rt are not functional with the existing project layout, only with the new layout which is

Re: OpenJFX and iOS

2013-06-26 Thread Richard Bair
At the moment the first P0 is to make sure that when we switch to gradle the rest of the development team is able to continue on with their work. It is going to be bumpy for a few days, and we might miss the weekly integration for example next week depending on how it goes. However I would

Re: Native font rendering in JFX8 b96?

2013-06-28 Thread Richard Bair
Fonts do look good but I thought they always looked pretty good on Windows! With the old code we were using Windows to create the glyphs, so the rendering should look just as good for each glyph. T2K was doing the layout of glyphs, now it should be using DirectWrite on Windows. Not sure if it

Re: OpenJFX and iOS

2013-07-01 Thread Richard Bair
/e69d574206cf59ed25e215cfd2479c9aae2ab296 From my reading, .a files are static libraries, and dylib are dynamic libraries. iOS requires static linking if I read the docs correctly. On Sat, Jun 29, 2013 at 1:17 AM, Richard Bair richard.b...@oracle.com wrote: I haven't been this low level on building iOS, so

Re: How are Mnemonics On Buttons Supposed To Work?

2013-07-01 Thread Richard Bair
This is correct, Apple doesn't (typically? ever?) display mnemonics on Mac. We want our behavior here to be consistent with the OS. Richard On Jul 1, 2013, at 1:41 PM, Mark Fortner phidia...@gmail.com wrote: Hi John, Yes, I am using OS X. Thanks for the link. I ended up creating a window

Re: [API Review] Make Scene styleable through CSS

2013-07-01 Thread Richard Bair
Does it need a default style class, or can we just use the type selector instead? Richard On Jun 25, 2013, at 2:18 PM, David Grieve david.gri...@oracle.com wrote: https://javafx-jira.kenai.com/browse/RT-31282 Scene has a fillProperty which should be styleable via CSS but this would

Re: iOS: missing native font lib (a) in SDK directory

2013-07-02 Thread Richard Bair
That is correct, it isn't complete. I have a couple changes from Danno that are still in process, and another patch from one of the guys in Prague as well. On Jul 2, 2013, at 4:46 PM, Tobias Bley t...@ultramixer.com wrote: Hi, I tested the new gradle based build process and noticed that in

Re: iOS: missing native font lib (a) in SDK directory

2013-07-03 Thread Richard Bair
3, 2013, at 9:56 AM, Richard Bair richard.b...@oracle.com wrote: Obviously there's a lot going on with the move to gradle, but we are a few lines of Gradle build code away from JFX on iOS. I'm keen to find out just how well it will run. In the runs I've seen (not on RoboVM) the main

Re: [API Review]: Node validation

2013-07-03 Thread Richard Bair
Why does layout() need to be deprecated? Find Usages from IntelliJ reports 481 usages (139 in controls 2 in designTime, 339 in Graphics, including tests and such). We should only deprecate the method if it should not be used anymore by anybody for any reason, in which case we need to replace

Re: JavaFX8 on iPhone! It works!

2013-07-03 Thread Richard Bair
Extensive documentation that is mostly correct: https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX https://wiki.openjdk.java.net/display/OpenJFX/Developing+OpenJFX It is still a work in progress but most things you need to know to build is found here. Richard On Jul 3, 2013, at

Re: JavaFX8 on iPhone! It works!

2013-07-05 Thread Richard Bair
We have implementations for Android and iOS that are both functional on a Java 8 VM. It looks like, because the iOS one is so closely related to the Mac build, it was the easiest one to get a build for the open community. We're working on the Android build scripts. The situation on Android is

Re: JavaFX8 on iPhone! It works!

2013-07-05 Thread Richard Bair
05.07.2013 um 16:42 schrieb Richard Bair richard.b...@oracle.com: We have implementations for Android and iOS that are both functional on a Java 8 VM. It looks like, because the iOS one is so closely related to the Mac build, it was the easiest one to get a build for the open community. We're

Re: JavaFX8 on iPhone! It works!

2013-07-05 Thread Richard Bair
fixes and updates messy. On 06/07/2013, at 12:42 AM, Richard Bair richard.b...@oracle.com wrote: We have implementations for Android and iOS that are both functional on a Java 8 VM. It looks like, because the iOS one is so closely related to the Mac build, it was the easiest one

Re: Gradle build, one step forward, two backward :)

2013-07-08 Thread Richard Bair
Caused by: java.lang.NullPointerException at com.sun.javafx.font.PrismFontLoader.loadFont(PrismFontLoader.java:220) at javafx.scene.text.Font.init(Font.java:318) at javafx.scene.text.Font.getDefault(Font.java:85) at

Re: [API Review]: Node validation

2013-07-08 Thread Richard Bair
OK, just throwing something wild out there. Right now we have a layout pass and a css pass. Can they be combined? Can we combine them just into something that happens during layout? And can the existing layout() method be the thing that kicks it all off? Wild and crazy but just throwing it out

Re: Node bounds documentation issue?

2013-07-08 Thread Richard Bair
I think you are right and the docs should be updated to indicate this. If you would like to file a JIRA and a patch that would be awesome. Thanks Richard On Jul 8, 2013, at 9:20 AM, Scott Palmer swpal...@gmail.com wrote: The javadocs discussing Bounding Rectangles for Node state: The

Re: [API Review]: Node validation

2013-07-08 Thread Richard Bair
But that is by far not the only thing the method will do. It will also make sure all the CSS properties are applied. For example you can see what the background of a Region will be, or any other property that can be set from CSS. Is the reason you want to avoid validateLayoutAndCSS is that it

Re: API REVIEW for TabPane tab content loading and fixed content size

2013-07-08 Thread Richard Bair
Hi Paru, I have a few questions. The first is, why does it make a difference whether the tab content is added to the scene graph or not? If a node is marked visible=false, it *should* be essentially the same as not being in the graph. That entire branch shouldn't be picked, etc. I don't doubt

Re: Validate cell, or request a cell update

2013-07-09 Thread Richard Bair
I think this is different. The idea was that you would bind state on the cell to the item it is representing, so that it is automatically updated when needed and then there is no need to manually poke it. If the data item isn't observable, then you need a way to manually poke it. Richard On

CFV: New OpenJFX Committer: Danno Ferrin

2013-07-09 Thread Richard Bair
I hereby nominate Danno Ferrin to OpenJFX Committer. Danno has been actively submitting patches and following up to make sure they get integrated for the past 8 months or so (the first patch I found was on this issue: https://javafx-jira.kenai.com/browse/RT-26719). He has maintained a

CFV: New OpenJFX Committer: Debra Masada

2013-07-09 Thread Richard Bair
I hereby nominate Debbie Masada to OpenJFX Committer. Debbie is a member of the samples team and works on Ensemble and other sample applications, adding functionality etc. as necessary. Some of her recent changes can be seen here. http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=masada

CFV: New OpenJFX Committer: Alexander Kouznetsov

2013-07-09 Thread Richard Bair
I hereby nominate Alexander Kouznetsov to OpenJFX Committer. Alex is a member of the samples team, but also contributes to the core platform itself and to J1 demos. His recent work can be seen here: http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=kouznetsov Votes are due by Jul 23,

CFV: New OpenJFX Committer: Oleg Mazurov

2013-07-09 Thread Richard Bair
I hereby nominate Oleg Mazurov to OpenJFX Committer. Oleg has been a key behind-the-scenes contributor to JavaFX performance. Some of his contributions can be counted in code http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=mazurov But much more in terms of performance profiling and

Re: Problem with gradle build

2013-07-10 Thread Richard Bair
Good find! I see that this bug is most likely the issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=54090 From this bug report it looks like the depend feature we have turned on by default is causing the problem. You can turn USE_DEPEND=false. This will cause your build times to become

Re: JDK 8 for ARM Early Access Releases (with JavaFX)

2013-07-10 Thread Richard Bair
Hey man, don't look a gift horse in the mouth ;-) Richard (For those non-native english speakers out there, a handy explanation of the idiom :-)) [https://en.wiktionary.org/wiki/don%27t_look_a_gift_horse_in_the_mouth] Horses' gums recede as they age making their teeth appear longer (hence the

Re: Building your own OpenJFX for Linux ARM/Raspberry PI

2013-07-10 Thread Richard Bair
Hi David, maybe you should cross post this over on the raspberry PI forums? On Jul 10, 2013, at 1:46 PM, David Hill david.h...@oracle.com wrote: You should now be able to build OpenJFX for Linux Arm (hard float abi) for the Raspberry PI. To do this you will need the current Linux ARM JDK

PGNode and associated interfaces now removed

2013-07-10 Thread Richard Bair
I have just fixed https://javafx-jira.kenai.com/browse/RT-20397, an old long-standing bit of technical debt. The short summary is, instead of each NG node implementing a PG node an the scene graph Nodes working with those peers via the PG interface, they now talk to the NG nodes directly. This

Re: [API Review]: Node validation

2013-07-11 Thread Richard Bair
This might work for CSS, but won't for layout. The second example won't work because you'd just do layout of the node itself. It might get a different size from it's parent during the next layout pass (and the parent from it's parent, etc...). So the layout will look different after the

Fwd: Heads-up -- incompatible changes coming

2013-07-11 Thread Richard Bair
We're lambda-free at the moment, but just a heads up Richard Begin forwarded message: From: Brian Goetz brian.go...@oracle.com Subject: Heads-up -- incompatible changes coming Date: July 11, 2013 1:16:57 PM PDT To: lambda-...@openjdk.java.net lambda-...@openjdk.java.net In the next week

Re: Raspberry Pi + JavaFX 3D demo

2013-07-12 Thread Richard Bair
That should be encouraging, since the CPU on the PI is *way* worse than the CPU on an iPhone or iPad. Is the difference HotSpot vs. RoboVM? The graphics code being executed should be pretty much exactly the same, and I would expect the PowerVR to be able to handle this without any trouble.

Re: Raspberry Pi + JavaFX 3D demo

2013-07-12 Thread Richard Bair
AM, Richard Bair richard.b...@oracle.com wrote: That should be encouraging, since the CPU on the PI is *way* worse than the CPU on an iPhone or iPad. Is the difference HotSpot vs. RoboVM? The graphics code being executed should be pretty much exactly the same, and I would expect the PowerVR

Re: [API Review]: Node validation

2013-07-12 Thread Richard Bair
The thing is that in order to compute the layout correctly, you have to start from the layout root. I think where you start the computation from depends on what you are trying to do. I think that validate or whatever we would call it would just be a convenient wrapper that did whatever we

Re: Raspberry Pi + JavaFX 3D demo

2013-07-12 Thread Richard Bair
later this year. Is this demo open source? It would be interesting to test it on iOS. On Fri, Jul 12, 2013 at 5:03 PM, Richard Bair richard.b...@oracle.com wrote: BTW, we've run a VM performance benchmark against HotSpot on PI vs. RoboVM on iOS and for raw power RoboVM seems faster (lower

Re: [API Review]: Node validation

2013-07-12 Thread Richard Bair
Is there any reason why I might want to measure a node independent of the layout of its parent? If I have a Button in a StackPane, is there a time I might want to measure the Button independent of the StackPane? I suppose so, if for example I wanted to get snapshots of it at its min size,

Re: Raspberry Pi + JavaFX 3D demo

2013-07-12 Thread Richard Bair
the time is being spent. Richard On Jul 12, 2013, at 8:17 AM, Tobi t...@ultramixer.com wrote: Painting a plain rectangle is ok. But using a stackpane to draw a javafx styled button over a plain painted rectangle node is very slow. Am 12.07.2013 um 17:03 schrieb Richard Bair richard.b

Re: [API Review]: Node validation

2013-07-12 Thread Richard Bair
. The applyStyle() method can't really ignore pseudo-class state since things like orientation (horizontal/vertical) are kind of important. On Jul 12, 2013, at 11:32 AM, Richard Bair richard.b...@oracle.com wrote: Is there any reason why I might want to measure a node independent of the layout

Re: [API Review]: Node validation

2013-07-12 Thread Richard Bair
impl_processCSS(true). On Jul 12, 2013, at 12:06 PM, Richard Bair richard.b...@oracle.com wrote: My thought was that applyCSS could for now just call impl_processCSS(true) -- so it is Thor's Hammer and will just hammer everything to be updated. Not necessarily fast. Then in subsequent

MSAA and Scene anti aliasing

2013-07-12 Thread Richard Bair
Thor recently pushed an implementation for MSAA for those cases when the feature is supported by the card and where a Scene (or SubScene) is created with the antiAliasing flag set to true. MSAA is Multi-sampled Anti Aliasing, which means that the graphics card, when configured in this mode,

Re: different color in path

2013-07-12 Thread Richard Bair
No, it is not possible. Each path is a single shape, and all shapes have a single fill / stroke / etc. You will need to use several paths and position them accordingly. Thanks Richard On Jul 13, 2013, at 12:38 AM, fajar si.siput.ngan...@gmail.com wrote: Is possible to setting different color

Making Color Final (and Paint too, for all intents and purposes)

2013-07-12 Thread Richard Bair
I have two different changes I might want to make, both of which are definitely incompatible for subclasses, but are otherwise source compatible. public abstract class Paint { Paint() { } // --- Add this package constructor. Anybody who subclassed Paint will die } public final class Color

Re: different color in path

2013-07-12 Thread Richard Bair
this with a bazillion Path objects is not going to work. Richard On Jul 13, 2013, at 12:08 PM, fajar si.siput.ngan...@gmail.com wrote: Pada 7/12/2013 10:56 AM, Richard Bair menulis: No, it is not possible. Each path is a single shape, and all shapes have a single fill / stroke / etc. You

Re: MSAA and Scene anti aliasing

2013-07-14 Thread Richard Bair
um 19:55 schrieb Richard Bair richard.b...@oracle.com: Thor recently pushed an implementation for MSAA for those cases when the feature is supported by the card and where a Scene (or SubScene) is created with the antiAliasing flag set to true. MSAA is Multi-sampled Anti Aliasing, which

Re: MSAA and Scene anti aliasing

2013-07-15 Thread Richard Bair
I think there should be a simple way to request full scene anti-aliasing to improve 3D rendering. And also an optional more advanced way to specify which type… I agree it should be nice and simple. It should also allow us the freedom to make it better in the future. I think that adding a

Re: JavaFX 8 Progress

2013-07-17 Thread Richard Bair
Hi Peter, Our dates match up with JDK 8: http://openjdk.java.net/projects/jdk8/milestones Feature complete was a month ago (but little API tweaks continue to happen). Things are supposed to be reasonably stable by October 24 (Zero Bug Bounce

Mixing 2D and 3D

2013-07-18 Thread Richard Bair
While working on RT-5534, we found a large number of odd cases when mixing 2D and 3D. Some of these we talked about previously, some either we hadn't or, at least, they hadn't occurred to me. With 8 we are defining a lot of new API for 3D, and we need to make sure that we've very clearly

Re: Mixing 2D and 3D

2013-07-18 Thread Richard Bair
it on and off. I assume there's no way to do it pane by pane, so the docked components of a BorderPane are 2d optimized but the center is 3d? Or is that what SubScene3d is for (not real clear how this would be used)? On 19/07/2013, at 6:58 AM, Richard Bair richard.b...@oracle.com wrote

Re: Mixing 2D and 3D

2013-07-18 Thread Richard Bair
to compromise and the inability to develop both concepts to their full maturity - and what about what you mentioned regarding possible OpenGL exposure from the 3D API ? Would this be possible while still merging 2D and 3D semantics? David On Jul 18, 2013, at 3:58 PM, Richard Bair richard.b

Re: Mixing 2D and 3D

2013-07-19 Thread Richard Bair
Hi August, I thought I had gotten to that in the summary of the email, but maybe you can help me learn what I don't yet understand about the space so that we can define what we're doing better. Instead I propose that we keep the integrated scene graph as we have it, but that we introduce

Re: Java 8 b99 still missing samples

2013-07-19 Thread Richard Bair
Nicolas, do you know what the issue is? On Jul 19, 2013, at 7:02 PM, John C. Turnbull ozem...@ozemail.com.au wrote: The JavaFX samples for Java 8 b99 still do not contain Ensemble8 or the 3D Viewer. When do you expect to include them in a build? -jct

Re: Mixing 2D and 3D

2013-07-22 Thread Richard Bair
Feature freeze doesn't mean that there won't be changes -- just that every major feature has an implementation and is ready for testing. Inevitably, as we use new features, we'll find that there needs to be modifications or clarifications. Once we ship, the possibility to refine is greatly

Re: Mixing 2D and 3D

2013-07-22 Thread Richard Bair
Hi August, I will attempt some kind of answer although what we end up doing has a lot to do with where the community wants to take things, so some things we've talked about, some things we haven't, and the conversation is needed and good. Whatever the use case will be JavaFX 3D will be

Re: Mixing 2D and 3D

2013-07-22 Thread Richard Bair
Java 8 (not JavaFX 8 specifically, although we're part of Java 8 so it also applies to us) is not supported on XP. It may or may not work, but we're not testing that configuration. Richard On Jul 22, 2013, at 5:41 PM, Pedro Duque Vieira pedro.duquevie...@gmail.com wrote: Hi, Java 8

Re: java.lang.NullPointerException at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1129)

2013-07-23 Thread Richard Bair
David Grieve is your best resource, but he's on vacation. On Jul 23, 2013, at 9:00 AM, Peter Penzov peter.pen...@gmail.com wrote: Well, the only solution that I can think of is to place the images and the css file into one folder. On Tue, Jul 23, 2013 at 3:51 PM, Pavel Safrata

Re: Java 8 not supporting Windows XP

2013-07-23 Thread Richard Bair
% which is more that Mac and Linux together! Best regards, On Tue, Jul 23, 2013 at 1:43 AM, Richard Bair richard.b...@oracle.com wrote: Java 8 (not JavaFX 8 specifically, although we're part of Java 8 so it also applies to us) is not supported on XP. It may or may not work, but we're

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
1. It's WebKit itself or the way JavaFX wraps WebKit. 2. It's the graphics layer of JavaFX that is not optimised enough yet. 3. It's a 64-bit thing because JIT is not enabled in 64-bit WebKit (but why does it only impact the JavaFX implementation?) 4. It's simply because C++ is faster than

Re: Slimming Graphics hierarchy

2013-07-23 Thread Richard Bair
it (and the BaseContext / BaseShaderContext). Richard On Jul 23, 2013, at 10:55 AM, Richard Bair richard.b...@oracle.com wrote: There are 14 types of com.sun.prism.Graphics (actually there is a 15th, PrinterGraphics, which is a graphics by name only since it is a tagging interface that doesn't

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
, Felix On 24 July 2013 06:22, Richard Bair richard.b...@oracle.com wrote: -Djavafx.pulseLogger=true

Re: API Change Proposal - Re: MSAA and Scene anti aliasing

2013-07-23 Thread Richard Bair
Actually that is exactly what I was hoping DEFAULT would mean -- some kind of typical option for the particular platform (maybe even disabled on some!). Richard On Jul 23, 2013, at 1:41 PM, Felix Bembrick felix.bembr...@gmail.com wrote: I am not sure I like the name of the value DEFAULT. To

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
Hi Felix, Thanks, this helps a lot. Let me walk through it: PULSE: 1 [0ms:57ms] The PulseLogger accumulates data for each pulse that occurs. Here we've got: PULSE: [pulse number] [[time since end of previous frame]ms:[time this pulse took, including time it took waiting for previous

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
I'm not seeing anything at all, beyond a fuzzy background image (similar app to yours): import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.WebView; import javafx.stage.Stage; public class HelloWebView extends Application { @Override public void

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
Doh, that's just what you said :-) On Jul 23, 2013, at 3:49 PM, Richard Bair richard.b...@oracle.com wrote: I'm not seeing anything at all, beyond a fuzzy background image (similar app to yours): import javafx.application.Application; import javafx.scene.Scene; import

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
I've filed https://javafx-jira.kenai.com/browse/RT-31885, lets see how that turns out. Richard On Jul 23, 2013, at 3:49 PM, Richard Bair richard.b...@oracle.com wrote: Doh, that's just what you said :-) On Jul 23, 2013, at 3:49 PM, Richard Bair richard.b...@oracle.com wrote: I'm

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
Just thinking, it might also be CSS 3 transforms are not supported yet in WebView? I'm not certain, will need to hear back from Peter. Richard On Jul 23, 2013, at 3:53 PM, Richard Bair richard.b...@oracle.com wrote: I've filed https://javafx-jira.kenai.com/browse/RT-31885, lets see how

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
, 2013, at 3:54 PM, Richard Bair richard.b...@oracle.com wrote: Just thinking, it might also be CSS 3 transforms are not supported yet in WebView? I'm not certain, will need to hear back from Peter. Richard On Jul 23, 2013, at 3:53 PM, Richard Bair richard.b...@oracle.com wrote: I've filed

Re: WebView capabilities review

2013-07-23 Thread Richard Bair
Another good one to look at in terms of performance is impress.js, which looks pretty dang good in web view. Richard On Jul 23, 2013, at 4:00 PM, Richard Bair richard.b...@oracle.com wrote: No, I tried running http://www.the-art-of-web.com/css/3d-transforms/#.UemI7BK9LCQ in WebView

Fwd: Lambda Expressions Backported to Java 7, 6 and 5

2013-07-24 Thread Richard Bair
Interesting. If we end up using more Lambda's in FX, there might still be an easy way to maintain the back port to 7. Richard Begin forwarded message: From: Esko Luontola esko.luont...@gmail.com Subject: Lambda Expressions Backported to Java 7, 6 and 5 Date: July 24, 2013 1:40:33 AM PDT

Re: very poor performance on iOS :(

2013-07-24 Thread Richard Bair
Unfortunately, I'm one of those stuck waiting for the apple developer portal to come back online in order to renew my apple developer subscription, so I can't actually try this out myself. Have you tried running with the perfLogger (I included instructions and how to understand the output in

Re: Can JavaFX do CAD?

2013-07-24 Thread Richard Bair
The scene graph will not support millions of nodes, so I agree that just representing every CAD drawn shape as a node is not going to work. Of the options presently available, you might find Canvas does what you want and allows you to use substantially the same architecture as you have now

Re: hg: openjfx/8/graphics/rt: RT-26702 Poor DisplacementMap effect performance on Mac

2013-07-24 Thread Richard Bair
The name of the issue is pretty ho-hum, but actually this was a huge amount of work to get finished. Petr, Artem, or Steve, can you give us a run-down of the performance impact of this change on Mac? Thanks Richard On Jul 24, 2013, at 12:32 AM, hang...@oracle.com wrote: Changeset:

Re: hg: openjfx/8/graphics/rt: RT-26702 Poor DisplacementMap effect performance on Mac

2013-07-24 Thread Richard Bair
the difference. With best regards. Petr. On Jul 24, 2013, at 8:23 PM, Richard Bair richard.b...@oracle.com wrote: The name of the issue is pretty ho-hum, but actually this was a huge amount of work to get finished. Petr, Artem, or Steve, can you give us a run-down of the performance impact

Re: Can JavaFX do CAD?

2013-07-24 Thread Richard Bair
: On Wed, 24 Jul 2013 17:06:57 +0200, Richard Bair richard.b...@oracle.com wrote: The scene graph will not support millions of nodes, How many nodes are supported? I'm helping with the prototyping of a software that should render 2D SVG. In the past the need was for relatively complex

  1   2   3   4   >