• 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
How to create an image, which can be accessed directly from memory as well as using Quarz functions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create an image, which can be accessed directly from memory as well as using Quarz functions?


  • Subject: How to create an image, which can be accessed directly from memory as well as using Quarz functions?
  • From: Vojtěch Meluzín <email@hidden>
  • Date: Sun, 05 Aug 2012 13:38:50 +0200

Hi,

I'm performing my own graphics rendering using background images, which are
then placed onto the resulting Carbon/Cocoa view. I can perform the whole
rendering manually (by accessing the image data), but for some reason this
seems quite slow compared to the same thing on Windows (probably the final
conversion to system image, which isn't needed on Windows). Anyway I'd like
to use the Quarz functions to optimize something, or at least avoid the
final conversion to the system image. Is there a way to create an image,
which can be then manipulated directly as well as using system drawing
functions like it is on Windows? So far I tried CGImageCreate +
CGContextDrawImage and CGBitmapContextCreateImage + CGContextDrawImage  and
both cases are just slow.

Regards,
Vojtech
_______________________________________________

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

  • Prev by Date: Re: compile DrawKit in 10.8
  • Next by Date: Re: How long will the dev site be down?
  • Previous by thread: Re: NSWindow with a NSTableView redraws incorrectly with autolayout on 10.8
  • Next by thread: How to (slowly) rotate a view
  • Index(es):
    • Date
    • Thread