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: 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: 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

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-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: 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: 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: 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 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: 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

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: 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: 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: 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-25 Thread Richard Bair
If there are really a lot of properties of the same (primitive) type would it make sense to store their primitive values inside arrays instead of single fields? Not sure how arrays preform memory and access. If there are many booleans they could be store inside an short/int/long. My

Re: WebView capabilities review

2013-07-25 Thread Richard Bair
It explains why it is slow, but it doesn't explain rendering artifacts. Thanks, Artem On 24 July 2013 08:53, Richard Bair richard.b...@oracle.com wrote: 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

Re: Can JavaFX do CAD?

2013-07-25 Thread Richard Bair
Regarding memory requirements of the full lazy properties, let me state the obvious: - if the property is not used at all, we have a reference and a double instead of just a reference (worse unless in bucket) - if getters/setters are called, we still have a reference and a double instead

Re: WebView capabilities review

2013-07-25 Thread Richard Bair
illusion? (as the shape passes a boundary it may temporarily looked wider and then shorter making it look like it is changing size / speed??) Richard On Jul 25, 2013, at 9:28 AM, Richard Bair richard.b...@oracle.com wrote: I don't see his link to impact.js, can you send it again? Usually

Re: WebView capabilities review

2013-07-25 Thread Richard Bair
(as opposed to an actual performance problem or timing problem). What do you see? Richard On Jul 25, 2013, at 9:49 AM, Richard Bair richard.b...@oracle.com wrote: I just ran Ensemble on mac with the latest, with pulse logger turned on. Ran the SequentialTransition demo and I agree it didn't look

Result: New OpenJFX Committer: Danno Ferrin

2013-07-25 Thread Richard Bair
Voting for Danno Ferrin to OpenJFX Committer [1] is now closed. Yes: 4 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. Richard [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-July/008695.html

Result: New OpenJFX Committer: Oleg Mazurov

2013-07-25 Thread Richard Bair
Voting for Oleg Mazurov to OpenJFX Committer [1] is now closed. Yes: 6 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. Artem [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-July/008699.html

Result: New OpenJFX Committer: Alexander Kouznetsov

2013-07-25 Thread Richard Bair
Voting for Alexander Kouznetsov to OpenJFX Committer [1] is now closed. Yes: 3 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. Artem [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-July/008698.html

Result: New OpenJFX Committer: Debbie Masada

2013-07-25 Thread Richard Bair
Voting for Debbie Masada to OpenJFX Committer [1] is now closed. Yes: 3 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. Artem [1] http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-July/008696.html

Re: Mixing 2D and 3D

2013-07-25 Thread Richard Bair
Hi August, I think we already do multiple active cameras? More precisely: simultaneous viewing from different points of view into a single 3D scene graph was meant, i.e. several cameras are attached to one scene graph. A SubScene has exactly one camera attached which renders the

Re: Antialiasing in 3D

2013-07-25 Thread Richard Bair
John, did you feel this got answered by Chien's last comments? Richard On Jul 20, 2013, at 1:05 PM, John C. Turnbull ozem...@ozemail.com.au wrote: There has been recent discussion here regarding the 3D antialiasing options in JavaFX 8. For mine, there needs to be a way to specify both

Re: Run JavaFX application on IBM JVM

2013-07-25 Thread Richard Bair
Hi Peter, Hi, I would like to ask you is it possible to run JavaFX application on IBM J9 JVM or other JVM? I suppose that I will need to copy some libraries from Oracle JVM. Can you give me some more information? I would imagine it might work. We use sun.misc.Unsafe and maybe a couple

Re: Code style guide lines

2013-07-25 Thread Richard Bair
I started a guide on our wiki a while ago: https://wiki.openjdk.java.net/display/OpenJFX/Policies+and+Processes But I only started it I never actually finished it or even asked anybody else what they thought of it :-). In general we follow the standard sun guidelines. We use spaces, not tabs.

Re: Code style guide lines

2013-07-25 Thread Richard Bair
* Should a switch always have a default-case? - According to the Java guidelines this should be! I would say definitely yes. The default clause should throw an AssertionError if it really is unexpected. This will catch cases where we add an enum type and don't add the right clause to a switch

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

2013-07-25 Thread Richard Bair
in Java for this, because we have a complex processing in native code and frame drops happen there. I have no idea how it could be done on other platforms, because I am familiar with this area only on the Mac. With best regards. Petr. On Jul 25, 2013, at 9:24 PM, Richard Bair

Re: Code style guide lines

2013-07-25 Thread Richard Bair
I think you should also write down the policy when a Simple*Property used? - we discussed that same months ago already I'd be happy to put it in the wiki if you give me some words. I'm overloaded and drowning :) Ok. Let me see if I can come up with some words on this. Wouldn't it make

Re: Mixing 2D and 3D

2013-07-25 Thread Richard Bair
different points of view into a single 3D scene via the use of SubScenes. The key point, as you have clearly stated, is the need to clone the scene graph nodes per SubScene. - Chien On 7/25/2013 10:37 AM, Richard Bair wrote: Hi August, I think we already do multiple active cameras

Re: Mixing 2D and 3D

2013-07-25 Thread Richard Bair
opened a can of worms. ;-) - Chien On 7/25/2013 5:20 PM, Richard Bair wrote: Having to clone the nodes hardly seems like simultaneous viewing from different points of view? On Jul 25, 2013, at 5:17 PM, Chien Yang chien.y...@oracle.com wrote: Hi August, We did talk through

Re: Building JavaDoc and Sources JARs

2013-07-25 Thread Richard Bair
You gotta set the BUILD_JAVADOC flag. Look in gradle.properties.template -- all the different flags are pretty well documented there. For sources, somebody else posted a message about wanting to do that, and I think that's great. Just need to get a patch to the gradle build to create a source

  1   2   3   >