Mercurial > dwindows
changeset 805:1a0bbb2aa9dd
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.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 24 Mar 2011 02:07:12 +0000 |
parents | 5b4a831af8fa |
children | 16964b141964 |
files | mac/dw.m |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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];