Are non-opaque windows really buffered ?
Are non-opaque windows really buffered ?
- Subject: Are non-opaque windows really buffered ?
- From: Nat! <email@hidden>
- Date: Sun, 14 Oct 2001 01:14:49 +0200
I have the suspicion, that a window created like this
- (id) initWithContentView:(NSView *) contentView
{
[super initWithContentRect:[contentView frame]
styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered
defer:NO];
[self setLevel:NSFloatingWindowLevel];
[self setContentView:contentView];
[self setBackgroundColor:[NSColor clearColor]];
[self setOpaque:NO];
[self setHasShadow:YES];
return( self);
}
isn't really buffered in the sense that I know about namely, that
all rendering is done offscreen and then the result is flushed to
the display in a more or less single blit. I have the problem that
my window does suffer from some "NSBackingStoreRetained" like
flickering on occasion.
Nat!
------------------------------------------------------
Some people drink deep from the fountains of life, and
some just gargle. -- DLR