# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1300932432 0 # Node ID 1a0bbb2aa9dd8dee1c3f7742cf24b991eb682341 # Parent 5b4a831af8fac3bd72286ddfc603083b81d03fe0 Added flag to set window's prefered backing location to be video memory to see if it helps bitblt performance. If it does... I should optimize this to only do so when a render window gets packed into a window. diff -r 5b4a831af8fa -r 1a0bbb2aa9dd mac/dw.m --- a/mac/dw.m Wed Mar 23 20:59:38 2011 +0000 +++ b/mac/dw.m Thu Mar 24 02:07:12 2011 +0000 @@ -5924,6 +5924,7 @@ backing:NSBackingStoreBuffered defer:false]; + [window setPreferredBackingLocation:NSWindowBackingLocationVideoMemory]; [window setTitle:[ NSString stringWithUTF8String:title ]]; DWView *view = [[DWView alloc] init];