NSPreferredBackingLocation

  • Hi

    Can anyone tell me if the preferred value for
    NSPreferredBackingLocation has changed in OS X 10.5.1 for a Textured
    window? Does this have anyrhing to do with the Radeon chipset problem?

    It seems to me that in 10.5.1 a Textured window defaults to a backing
    location of NSWindowBackingLocationMainMemory whereas previously it
    was in NSWindowBackingLocationVideoMemory - I no longer have 10.5 so
    cannot test it myself.

    My main window is Textured so the the user can choose the colour for
    the frame and toolbar. Worked fine in Tiger and in Leopard 10.5 but it
    redraws too slow in 10.5.1

    If I compile for 10.4 then under 10.5.1 the redraw of the main window
    is messy (and too slow).

    If I compile for a 10.5 target and set the preferred backing store
    location to NSWindowBackingLocationVideoMemory then my "Textured" main
    window  redraws fine, if I set it to NSWindowBackingLocationMainMemory
    and it's too slow.

    Keith
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today