Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Window Dragging - toggle HW acceleration

Window Dragging - toggle HW acceleration
Thread Tools
Grizzled Veteran
Join Date: Feb 2001
Location: Pittsburgh
Status: Offline
Reply With Quote
Jan 2, 2002, 12:48 PM
 
As I get closer to releasing an API for itunes-esque windows optimization is now a key concern. Surprisingly, live resize isn't noticeably different from normal aqua windows. However, I've noticed that dragging is a tad slower than on normal windows.

Using the Quartz Debug app I figured out that my windows were being handled with no hardware acceleration. Dragging results in the entire window being marked with a yellow quartz redraw rect. Dragging other windows, including itunes and quicktime, results in only the border being included in the yellow area. Am I right in assuming that this means that the graphics card is handling the content area, bypassing quartz?

The windows are defined as NSBorderless, double-buffered, and only the corners contain transparency. Anyone else run into the same problem?
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jan 2, 2002, 05:48 PM
 
I can't say I'm surprised: there are probably hooks in the windowserver specifically for creating lined resize rects. It's probably an NSEvilHack.
     
Senior User
Join Date: Jul 2001
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Jan 2, 2002, 06:00 PM
 
Yellow flashing in Quarts debug only reports that Quartz is updating the flashing content, all non flashing content is not updated and only blitted(moved)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2