| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On May 17, 2006, at 8:24 PM, James W. Walker wrote:
My application often renders incorrectly when coalesced updates are on. Tech Note 2133 tells some cases in which one coalesced updates might impact performance, but does not explain why you'd see the wrong stuff on the screen.
This is a Carbon application with a composited window. Certain HIViews in the window are set up to draw with OpenGL. On kEventControlDraw, the view renders, ending with aglSwapBuffers and glFinish. What sometimes happens (maybe half the time) is that there is a flash and the OpenGL content disappears, revealing whatever was underneath it in the window. Turning off coalesced updates with Quartz Debug makes this problem go away.
Any idea what I could do, other than turning off coalesced updates in my app?
Eric Schlegel <email@hidden> wrote:
I don't know offhand what's happening here (we don't have much experience combining OpenGL and composited HIViews in-house; we need to investigate this further and see if we should be adding more explicit support to the HIView Manager for OpenGL), but I'm curious what happens if you use QuartzDebug to turn on "auto-flush drawing". Does that make a difference?
| References: | |
| >problem with coalesced updates and OpenGL (From: "James W. Walker" <email@hidden>) | |
| >Re: problem with coalesced updates and OpenGL (From: Eric Schlegel <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.