On Thu, Dec 20, 2012 at 4:20 AM, Adam Bark <[email protected]> wrote:
> On Dec 19, 2012 12:15 AM, "Ayush Jha" <[email protected]> wrote: > > > > Hello, I'm new to this library and I'm wondering if there's any way to > take advantage of Retina screens, such as the one on the new Macbook Pro. > > Is there a flag or mode I need to set to make it work, or is this > functionality not implemented yet? > > What happens when running pyglet on a retina display? What do you mean by > "take advantage of"? > Retina displays operate in a 'High DPI' mode by default, where the reported resolution is half the native resolution, and every pixel is effectively doubled. To get the display to run at native resolution requires a hack. I think what Pyglet needs to do is to become aware that it is running in high-DPI mode, and allocate a double-density rendering context. I am not however aware of how to do that. http://9to5mac.com/2012/06/21/how-to-run-your-retina-display-macbook-pro-at-full-2880-x-1800-native-resolution/ -- Tristam MacDonald Software Development Engineer, Amazon.com http://swiftcoder.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
