Mailing Lists: Apple Mailing Lists

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

updating dock tile (carbon app on 10.2)



User's are starting to complain about the white dock tiles...

I'm trying to avoid (see below) using glReadBuffer to grab the gl window content for manual blitting into the window backing store in response to kEventWindowCollapsed. Now that we're living with QE and everything is GL anyways, and t, isn't there some way I can coerce the window manager to do this for me? Or that I can read the post-compositing window image?

The window manager certainly knows what is in my window... compositing works and the genie effect shows the window content... it only goes white when it reaches the dock.

Answers in Carbon if possible.

Thanks,
Dan
----
Why I'm avoiding glReadBuffer: We've got complicated window layouts containing numerous gl contexts pieced together via AGL_BUFFER_RECTs. Thus, there's no one app-level gl context that covers an entire window. Moreover, each window's layout is different, and they change dynamically as users can drag the context rects around, resize them, add or delete context panes, etc. Contexts may overlap one another, with or without transparency. I spent the better part of today trying to determine how to walk through the contexts for a window, collect the rects, and composite them into a single image, and... well, it's not going to be easy.
_______________________________________________
mac-opengl mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-opengl
Do not post admin requests to the list. They will be ignored.


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.