• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Are non-opaque windows really buffered ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Silkscreened Image in OS X Installer
  • Next by Date: Displaying an alert box
  • Previous by thread: Re: Silkscreened Image in OS X Installer
  • Next by thread: Displaying an alert box
  • Index(es):
    • Date
    • Thread