• 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
Re: Flicker Free Drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flicker Free Drawing


  • Subject: Re: Flicker Free Drawing
  • From: "Paul Sanders" <email@hidden>
  • Date: Fri, 8 Jan 2010 21:17:47 -0000

Indeed.  In fact, all other backing store types are now
deprecated.

Paul Sanders.

----- Original Message -----
From: "David Blanton" <email@hidden>
To: "cocoa-dev List" <email@hidden>
Sent: Friday, January 08, 2010 9:06 PM
Subject: Re: Flicker Free Drawing


I guess I just choose Buffered in Window Attributes in IB.


On Jan 8, 2010, at 1:56 PM, David Blanton wrote:

> Great and thanks!  Now, if my app is a Cocoa document-based
> application where do I implement
> initWithContentRect:styleMask:backing:defer:
>
> -db
> On Jan 8, 2010, at 1:48 PM, Paul Sanders wrote:
>
>> Correct.  Nothing happens until the window is 'flushed'
>> (which
>> normally happens in the event loop).  It is one of the joys
>> of
>> programming on the Mac (compared to Windows).
>>
>> Paul Sanders
>>
>> ----- Original Message -----
>> From: "David Blanton" <email@hidden>
>> To: "cocoa-dev List" <email@hidden>
>> Sent: Friday, January 08, 2010 8:38 PM
>> Subject: Flicker Free Drawing
>>
>>
>> Does NSBackingStoreBuffered guarantee there will be no
>> flicker
>> when
>> drawing?
>>
>> That is, I won't see the content view background drawn, then
>> myview
>> background drawn, then myview whatever I draw into bounds
>> rect
>> ...
>> which would be "flicker, flicker" if I am drawing all through
>> resizing
>> the window and scrolling the content.
>>
>> -db
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to
>> the
>> list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>>
>>
>>
>>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the
> list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the
list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Flicker Free Drawing (From: David Blanton <email@hidden>)
 >Re: Flicker Free Drawing (From: "Paul Sanders" <email@hidden>)
 >Re: Flicker Free Drawing (From: David Blanton <email@hidden>)
 >Re: Flicker Free Drawing (From: David Blanton <email@hidden>)

  • Prev by Date: programatically updating UI for NSArrayContoller/NSTableView combo
  • Next by Date: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Previous by thread: Re: Flicker Free Drawing
  • Next by thread: Re: Flicker Free Drawing
  • Index(es):
    • Date
    • Thread