java fx on raspberry pi gerrit grunwald

Download Java fx on raspberry pi   gerrit grunwald

Post on 10-May-2015

620 views

Category:

Technology

8 download

Embed Size (px)

TRANSCRIPT

  • 1.Gerrit Grunwald ! ! ! !canoo TWITTER: @hansolo_Engineering AGWEB: harmonic-code.org

2. first... 3. what embeddedIS... 4. ...depends on the point of view 5. HardwareDeveloper 6. SoftwareDeveloper 7. JAVA ONE 2012 8. JavaFX poweredKiosk 9. running on... 10. PandaBoard 11. CPU : ARM A9 DualCore Clock: 1.2 GHz Ram : 1 GB GPU : Power VR SGX540 12. Question... 13. Why Java? 14. Benefits of Java Superb developer toolchain Mature, fast, widespread Thousands of libraries Huge community No standard on embedded 15. Ok but... 16. WTF ?JavaFX 17. 5PossibleUSE CASES 18. Homeautomation Home entertainment Medical devices Information Kiosks Education 19. WHAT IS JAVAFX ONEMBEDDED ? 20. F JAVA XA Subset of 21. Without support for Swing/SWT System Menu Drag'n Drop WebView Media (e.g. AudioClip) 22. Available JDK's11/2013JDK 7 (JFX 2)*JDK 8 (JFX 8) *dev. prev. from 2012 23. Target* footprint 6 1 ~ NB MI M*~32 MB today 24. WHAT ARE THE SUPPORTEDPLATFORMS ? 11/2013 25. BeagleBoard xM !!Raspberry Pi 26. xM BeagleBoard 27. ARM A8, 1 GHz 512 MB RAM 4 x USB ETHERNET RJ45 HDMI I2C, JTAG, SPI 28. running onngstrm based on Debian 29. JDK 7 JavaFX 2xM BeagleBoarddev. preview of 2012 with SoftFloat support 30. Pi Raspberry 31. ARM v6, 700 MHz 512 MB RAM 2 x USB ETHERNET RJ45 HDMI, COMPOSITE GPIO, I2C, UART, SPI 32. running onRaspbian based on Debian 33. JDK 8 JavaFX 8Pi Raspberryweekly dev. preview with HardFloat support 34. A typicalSetup 35. Pi Raspberry 36. $ 70 37. Pi Raspberry 38. $ 220 39. So...havingJava means... 40. WRITE ONCE RUNANYWHERE? 41. FIRST...SOME FACTS 42. Macbook ProBeagleBoard xMIntel i7 Quadcore 2.3 GHzARM A8 1 Ghz16 GB ram512 MB ramNvidia GeForce GT 650mPower VR SGX series 5 43. Macbook ProBeagleBoard xMNvidia GeForce GT 650mPower VR SGX series 5384 Cores ~15 GPixel/s ~600 GFlops 1 Core ~500 MPixel/s ~1.6 GFlops 44. EmbeddedREQUIREMENTS 45. Requirements touchable user interfacereasonable controlsno mouse and keyboardrestriced screen estate 46. CONCLUSION 47. NOWRITE ONCE RUNANYWHERE! 48. But you canRECYCLE A LOT 49. 60 cm50 mmFROM MOBILE90 mm34 cmand learn 50. Some words aboutGraphics 51. The Scene Graph Root NodeBranchLeafBranchBranchLeafLeafLeafBranch 52. Retained ModeRendering 53. SPEED LIMIT60 54. The Scene Graph Each node is about 5-7 kb Desktop could handle up to 100000 nodes Embedded devices can handle up to 1000 nodes !!! 55. But what does itmean ? 56. To visualizeData 57. do we need this ? 58. isn't this enough ? 59. or what about this 60. or even this... 61. IT'S ABOUTCONTENT OVER CHROME 62. But why is itimportant ? 63. CONTENTCHROME3 Nodes245 Nodes 64. CONTENTCOMPROMISE 13 Nodes33 Nodes 65. CONTENTCOMPROMISE 23 Nodes16 Nodes 66. CONTENTCOMPROMISE 33 Nodes6 Nodes 67. Things youBETTER AVOID 68. Things to avoid huge amount of nodes intense use of animations intense use of effects many overlapping nodes memory intense operations 69. Some UIExamples 70. Example UI (200 nodes) 71. Example UI (100 nodes) 72. Example UI (60 nodes) 73. Conclusion 74. JAVA(FX) ON EMBEDDEDreally rocks... 75. Demo