(Multi)Touch Ubuntu not working - where to look for implementation

2017-06-01 Thread Maurice
ve me that idea. This leads me to the idea that I have to look inside the JavaFX implementation. However, it would be nice if I could have some pointer of where to start and what to look for. For the record, I'm on JavaFX 8. Maurice. P: /devices/pci:00/:00:14.0/usb1/1-3/1-3:1.0/0003:2149:544D.0

com.sun.media.jfxmedia.locator.Locator: Unsupported protocol "bundle"

2016-03-09 Thread Maurice
the font loader. The font loader opens the input stream, downloads the file to a temporary folder and then opens the file, whereas the sound locator just balks at the protocol. Maurice.

JavaFX 9 / JRE 9 on ARMv7

2016-03-08 Thread Maurice
Given that development of JavaFX 9 will switch to JRE 9 completely anytime soon I'm thinking of switching to JavaFX 9 and a JRE 9. However, do the freely available JVMs for ARMv7 32bit have a JIT? Maurice.

Re: ELF class problems when Video playback on RaspberryPI

2016-03-06 Thread Maurice
Looks like you are using a 64-bit library on a 32-bit ARM. Maurice. Op 06-03-16 om 19:06 schreef Hrvoje Crnjak: Hi all, first of all, sorry for spamming your mailing list. Recently I started building JavaFX appllication on RaspberryPi. The idea of this application is to play .*mp4* videos

Re: FTFactory.java: Fonts loaded by Pango are never registered and always return

2016-03-03 Thread Maurice
, and I did see the rc is 0. Although ignoring the result does work, can it be something that is lacking in the environment? The Yocto embedded Linux is naked from the start, so it is totally possible that something else is missing. Maurice. (my pride on finding the flaw is quickly diminishing

Re: FTFactory.java: Fonts loaded by Pango are never registered and always return

2016-03-03 Thread Maurice
, 2016 at 2:48 PM, Maurice <i...@cuhka.com> wrote: At the moment the embedded environment I'm using is not able to use downloaded or external supplied fonts. I've traced through the system and found that it looks like it fails in pango.c FcConfigAppFontAddFile, at

FTFactory.java: Fonts loaded by Pango are never registered and always return

2016-03-03 Thread Maurice
d out! I removed the comment, but still the result is false. I then overruled the return code in FTFactory.java registerEmbeddedFont to be always true after it has called the native function, and voilà, there are my external fonts. What a journey.... :-) Maurice.

LinuxTouchTransform: wrong range on flipXY and continuus re-calculation

2016-03-02 Thread Maurice
. This seems unnecessary, as long as the screen is the same screen all transforms and scalars will remain the same for each touch event. Regards, Maurice.

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Maurice
Jim, A solution in line of that of Johan Vos [1] works. JavaFX can be run and doesn't crash on startup when compiling the shaders. I think they should be taken into account for at least JavaFX 9, as it reduces a very serious bug to a possible optimization. Maurice. [1] https

Re: GLS language errors

2016-03-01 Thread Maurice
Not only does it reduce the amount of errors, but I'm able to run Ensemble, until now without any errors. Therefore it seems to be the right solution. Maurice. Prism pipeline init order: es2 sw Using native-based Pisces rasterizer Using dirty region optimizations Using system sized mask

Re: GLS language errors

2016-03-01 Thread Maurice
Moving the declaration into the main() method reduces the amount of errors found by the glslangValidator drastically, though it still finds several issues: ./modules/graphics/src/main/resources/com/sun/prism/es2/glsl/normalMap_texture.frag ERROR: 0:53: 'oTexCoords' : undeclared identifier

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Maurice
I'm not very familiar with shader coding, but can't this be solved by putting a non-constant modifier in fron of it? I notice other variables are declared as 'varying' or 'uniform'. Maurice. Op 29-02-16 om 20:45 schreef Johan Vos: Hi, It seems to me you might be running in the same issue we

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Maurice
3: 'return' : type conversion on return values was not explicitly allowed until version 420 Should I still file a bug, or put additional information in an existing one? As an aside, for me to continue, should I try to build a Yocto image with an older driver? Maurice. Op 29-02-16 om 20:45 sch

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Maurice
Should I file a bug? I can't determine whether this is a client platform issue or a major bug in the EGL that JavaFX is using. In any case, it does not work on my embedded device. Maurice. Op 28-02-16 om 18:33 schreef Maurice: When I run the glslangValidator

GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-28 Thread Maurice
ompilation errors. No code generated. ERROR: 0:19: 'non-constant global initializer' : not supported with this profile: es ERROR: 1 compilation errors. No code generated. Op 27-02-16 om 19:10 schreef Maurice: I'm running into the following exception when I start a simple JavaFX test program

Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM

2016-02-27 Thread Maurice
) at java.lang.Thread.run(Thread.java:745) Maurice.

0x3003: Could not get EGL surface

2016-02-22 Thread Maurice
Even though the system did not output to my LVDS screen JavaFX seemed to be content initializing with ES2. GLFactory using com.sun.prism.es2.MonocleGLFactory (X) Got class = class com.sun.prism.es2.ES2Pipeline Initialized prism pipeline: com.sun.prism.es2.ES2Pipeline Graphics Vendor: Vivante

Re: JFX as an OSGi service?

2016-02-20 Thread Maurice
I make sure that the application is basically only the primary stage, therefore it only needs to publish itself. All other UI and business logic is done by other bundles. Op 20-02-16 om 15:50 schreef Stephen Winnall: I have been trying a similar approach. I’m using declarative services and I

Re: JFX as an OSGi service?

2016-02-20 Thread Maurice
(); Dictionary<String, ?> properties = createDictionary(); BundleContext bundleContext = UdooActivator.bundleActivator().getBundleContext(); bundleContext.registerService(com.cuhka.home.application.Application.class, this, properties); } Maurice. Op 20-02-16 om 15:08 schreef Stephen Winnal

Re: JFX as an OSGi service?

2016-02-20 Thread Maurice
, but that is why the desktop exists. On startup it registers itself, and thus the application content, with the application, and when it is stopped it removes the content from the application. The application has thus rarely to be updated itself. Regards, Maurice. public class UdooActivator

Re: NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Maurice
Kevin, Yes, in lib/arm these libraries are present. I'm using the Oracle ARM JDK 1.8.0_33 fwiw. On the default ubuntu based image I can run JavaFX with this Java setup, but without HW acceleration. Maurice. root@udooqdl:/# find / -name "*javafx_font*.so" /opt/jdk1.8.0_

NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Maurice
failed com.sun.javafx.font.t2k.T2KFactory *** Loading primary font factory failed. *** *** Fallbacking to com.sun.javafx.font.t2k.T2KFactory *** What should be added to the platform for this to be fixed? Maurice.

Re: [PATCH] buildscript java version detection fails on Linux/Ubuntu on Picked up JAVA_TOOL_OPTIONS

2015-08-29 Thread Maurice le Rutte
Since I haven't received any additional feedback, should I push this patch? Op 27 aug. 2015 15:56 schreef i...@cuhka.com: I've adapted the build.gradle to use java -fullversion instead of java  -version, parsing the result with a regexp. diff -r 9b5fc7c1e5e6 build.gradle ---