• 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: white screen windows at first
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: white screen windows at first


  • Subject: Re: white screen windows at first
  • From: "Paul Sanders" <email@hidden>
  • Date: Wed, 28 Apr 2010 09:10:16 +0100

> this problem must be because i am using core graphics

I don't know if this is relevant, but I noticed that there is a Core Graphics function called CGContextFlush.  The docs say you shouldn't need to call this but maybe in your case you do.  There's also a flushGraphics method of NSGraphicsContext.  If you are mixing Cocoa and Quartz drawing calls, these might help solve any timing issues.

Another possibility would be to use Cocoa drawing calls throughout, rather than calling Quartz directly.  I do that and it works OK for me.  I was attracted by the relative simplicity of doing things this way and Apple engineers have been nudging you in that direction.

Paul Sanders.
_______________________________________________

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

  • Follow-Ups:
    • Re: white screen windows at first
      • From: vincent habchi <email@hidden>
References: 
 >white screen windows at first (From: Bill Appleton <email@hidden>)
 >Re: white screen windows at first (From: "Paul Sanders" <email@hidden>)
 >Re: white screen windows at first (From: Bill Appleton <email@hidden>)
 >Re: white screen windows at first (From: Uli Kusterer <email@hidden>)
 >Re: white screen windows at first (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: white screen windows at first
  • Next by Date: Re: white screen windows at first
  • Previous by thread: Re: white screen windows at first
  • Next by thread: Re: white screen windows at first
  • Index(es):
    • Date
    • Thread