Duplicate :
|
|
Relates :
|
|
Relates :
|
Run whatever fx snippet using the j2d pipeline on the mac. Personally I use: -Dprism.debugfonts=true -Dprism.verbose=true -Dprism.order=j2d I get a NPE everytime I resize the window, after that the windows no longer draws. Here is my output: Prism pipeline init order: j2d Using t2k for text rasterization Using dirty region optimizations Prism pipeline name = com.sun.prism.j2d.J2DPipeline *** Fallback to Prism SW pipeline (X) Got class = class com.sun.prism.j2d.J2DPipeline Initialized prism pipeline: com.sun.prism.j2d.J2DPipeline RESIZE: 1339559033699184000 w: 300 h: 300 Glass native format: 1 2012-06-12 20:43:53.787 java[25149:707] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode. RESIZE: 1339559043441099000 w: 291 h: 288 Glass native format: 1 RESIZE: 1339559043488702000 w: 283 h: 278 Glass native format: 1 RESIZE: 1339559043496663000 w: 280 h: 275 Glass native format: 1 RESIZE: 1339559043538820000 w: 277 h: 271 Glass native format: 1 Glass detected outstanding Java exception at -[GlassRunnable run]:src/com/sun/mat/ui/GlassApplication.m:78 Exception in thread "AWT-AppKit" java.lang.NullPointerException at com.sun.glass.ui.mac.MacView._uploadPixels(MacView.java:70) at com.sun.glass.ui.View.uploadPixels(View.java:758) at com.sun.prism.j2d.J2DPresentable$Glass$1.run(J2DPresentable.java:99) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) RESIZE: 1339559043546210000 w: 276 h: 270 Glass native format: 1 RESIZE: 1339559043573615000 w: 275 h: 270 Glass native format: 1
|