Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz from a thread



On Wed, 26 Jan 2005 09:26:42, George Warner <email@hidden> wrote:

> On Tue, 25 Jan 2005 20:40:38 -0800, Eric Schlegel <email@hidden> wrote:
>> I think the primary issues would be:
>> - don't share a CGContext across threads; I don't believe Quartz
>> synchronizes context access. Use a separate context for each thread.
> 
> Actually, you can do this. As long as the area's being drawn to by the
> different thread don't overlap then Quartz can handle the same context being
> used my multiple threads. Internally it serializes accesses to the context.

George, I am curious if such internal serialization is really needed
if areas being drawn don't overlap.

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.