• 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: Drawing noise in Cocoa (preferably fast)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing noise in Cocoa (preferably fast)


  • Subject: Re: Drawing noise in Cocoa (preferably fast)
  • From: Ken Tozier <email@hidden>
  • Date: Wed, 15 Jun 2011 21:24:28 -0400

Just curious, what kind of speed are you getting with the CIImage methods? I saw the usefulness of generating random images for my own purposes and polished the posted code a bit today. It was generating 100 million pixel images (10,000 x 10,000) with per-pixel randomization in about 2.2 seconds. What kinds of times are you getting for comparable images using the CIImage methods?

-Ken


On Jun 15, 2011, at 2:30 PM, Stephen Blinkhorn wrote:

> I've got the random noise part working and it easily fast enough. Its a shame there isn't a way to specify the opacity when drawing CGLayers. I'd find that useful but I imagine there is a  reason for it.
>
> Stephen
_______________________________________________

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: Drawing noise in Cocoa (preferably fast)
      • From: Stephen Blinkhorn <email@hidden>
References: 
 >Drawing noise in Cocoa (preferably fast) (From: Stephen Blinkhorn <email@hidden>)
 >Re: Drawing noise in Cocoa (preferably fast) (From: Quincey Morris <email@hidden>)
 >Re: Drawing noise in Cocoa (preferably fast) (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: Custom NSSlider
  • Next by Date: Re: After Autoreleasing Still Getting Leaked
  • Previous by thread: Re: Drawing noise in Cocoa (preferably fast)
  • Next by thread: Re: Drawing noise in Cocoa (preferably fast)
  • Index(es):
    • Date
    • Thread