Better caching

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5611 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-12-22 12:11:40 +00:00
parent cfd932f104
commit d34a83277b
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ Wed Dec 22 12:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSImage.m: When creating an off-screen cache, fill with * Source/NSImage.m: When creating an off-screen cache, fill with
the background color (so having multiple caches for different the background color (so having multiple caches for different
backgrounds will work). backgrounds will work).
Set 'NSImageDoesCaching' to 'YES' by default - we do image caching
as standard now.
Wed Dec 22 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk> Wed Dec 22 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -51,7 +51,7 @@
#include <AppKit/NSScreen.h> #include <AppKit/NSScreen.h>
#include <AppKit/NSColor.h> #include <AppKit/NSColor.h>
BOOL NSImageDoesCaching = NO; /* enable caching */ BOOL NSImageDoesCaching = YES; /* enable caching */
BOOL NSImageForceCaching = NO; /* use on missmatch */ BOOL NSImageForceCaching = NO; /* use on missmatch */
// Resource directories // Resource directories