Running processing apps through the IDE is slow on macbook pro retina.
in
Integration and Hardware
•
1 year ago
Hey guys! I have recently purchased a macbook pro retina and have noticed that when I compile and run a processing app from within the IDE it lags badly; however simple the app is. Sample below:
- void setup(){size(1400,800);}
- void draw(){line(mouseX, mouseY, pmouseX, pmouseY);}
I have also noticed the following workarounds:
- Running an app through the IDE works fine if I move the app's window from the 15" retina screen to any other connected external display.
- An "exported application" runs fine.
- When running an app through the IDE on windows 7 through bootcamp everything runs fine.
- When running an app through the IDE on a virtual windows 7 machine running through Parallels everything runs fine too.
- Using OPENGL instead of P2D/P3D also seams to solve the problem. (not really a good workaround cause this means I need to drastically change my code to achieve the same effects.)
So I guess the lag issue is caused by os x 10.8.2 and the processing 1.5.1 IDE not playing nicely because the IDE is not "retina ready". That's why everything runs smoothly on windows 7 (virtual or otherwise) and similarly well on any connected external displays.
The question is, is there anything I can do to resolve this issue? a patch possibly? upgrading to processing 2.0 maybe? Or do I have to use one of the 5 workarounds mentioned above?
Thanks in advance!
Yousef
2