| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On May 29, 2007, at 4:15 PM, Christopher Hunt wrote:
On 30/05/2007, at 5:05 AM, email@hidden wrote:
glFlush()?The buffering is essential for improved asynchronicity between the CPU and the GPU. It is this cache of things to work on that allows one processor to perform work while the other is busy.
You can empty this implicit queue by flushing.
yup.
If you do so strategically, you won't see the lag and will still see the performance benefits. If you do so too frequently you'll effectively serialize the MT engine and your performance gains will be mitigated.OK.
So how about my strategy of disabling/enabling multi threading depending on what I'm doing i.e. when I start to drag (mouse down) and stop dragging (mouse up) - is that a decent strategy? It appears to work well but I'm wondering if I'm better off flushing strategically as you suggest i.e. within my drawRect and just prior to the flushBuffer call of my context.
Cheers, -C
_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden
| References: | |
| >Re: Interesting catch-up behaviour with GL multi-threading (From: Christopher Hunt <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.