javascript - WebGL performance issues with retina Macbook Pro -
i have webgl application developing , have run against pretty serious performance concerns retina display macbook pros. testing on 15 inch macbook intel iris pro gpu, rendering @ full resolution, gives me canvas resolution of 3810x2030 full screen chrome window. application renders 100k vertices per frame. now, when set application run device pixel ratio of 1 (meaning no retina scaling), performance of application solid, never falls below 60 fps, image quality unacceptable. when switch retina's device pixel ratio 2, image quality dramatically improves, framerate plummets around 20-30 fps. now, i'm no stranger gpu programming, reasons why happening obvious me. wondering is, has out there found workarounds or ways optimize webgl drawing ultra high resolution displays bad gpus retina macbook pro? there non-obvious tips or tricks people have found through trial , error resolve issue or @ least make better? any appreciated. thanks. edit: small update interesting...