<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Responding to Comments from &amp;quot;Under the Hood of the DWM&amp;quot;</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx</link><description>Wow... lots of great interest and comments in my previous post on "Under the Hood of the Desktop Window Manager" . Rather than attempting to comment inline, I figured I'd try to address in a separate post. So here goes: Anonymous : I'd like to know why</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#549353</link><pubDate>Sat, 11 Mar 2006 11:49:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:549353</guid><dc:creator>Stephane Rodriguez</dc:creator><description>&lt;br&gt;&amp;quot;Instead, DirectX is able to maintain a &amp;quot;flip chain&amp;quot; of buffers and swap between them for what's displayed on the screen. &amp;nbsp;The &amp;quot;flip&amp;quot; happens at a very low level in the system and does occur during vblank. &amp;nbsp;But it doesn't require drawing.&amp;quot;&lt;br&gt;&lt;br&gt;Thanks for your answer. What you describe here is what we used to do back in the old days : we had a bunch of back buffers and we would blit them back and forth (with the help of marvelous blitter and copper chips on the Amiga for instance). Up until we would reach the actual desktop buffer. Thing is, when drawing on the desktop buffer itself, we wouldn't blip the entire screen from back buffers, but restrict to portions, hence the &amp;quot;let's avoid the drawing spot&amp;quot; craze. The only limiting factor at the time was how many large blits we'd be able to do in a VBL. From what I understand, there is nothing really new, just that the resolution is bigger now and the processing power has dramatically improved. The Atari/Amiga were on the 7MHz CPU range.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#549417</link><pubDate>Sat, 11 Mar 2006 16:10:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:549417</guid><dc:creator>Anonymous</dc:creator><description>Ah, sounds good. I got the impression from another blog post by some other 'softie, can't find it now, that as soon as an Avalon window started using per-pixel transparency, it's internal drawing would no longer be hardware accelerated at all.</description></item><item><title>Desktop Window Manager — подробности, подробности и ещё раз подробности!</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#549607</link><pubDate>Sun, 12 Mar 2006 00:15:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:549607</guid><dc:creator>Олег Михайлик</dc:creator><description>Грег Сшечтер отвечает на вопросы по своей краеугольной статье о DWM. Пожалуй, да</description></item><item><title>Peaceful Coexistence - Windows Vista's Desktop Experience and Applications</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#549647</link><pubDate>Sun, 12 Mar 2006 01:31:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:549647</guid><dc:creator>Pablo Fernicola's Personal Blog</dc:creator><description>I read and participate in newsgroups (and blogs) regularly. &amp;nbsp;This entry is derived from a recent long post of mine in response to some very passionate newsgroup posts by some folks using the latest Windows Vista CTP&lt;br&gt;&lt;br&gt;The are a number of very positive</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#550001</link><pubDate>Sun, 12 Mar 2006 21:58:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550001</guid><dc:creator>deebs  </dc:creator><description>I can accept the Amiga/Atari similarities and those are fine.&lt;br&gt;&lt;br&gt;However, whatever the software/hardware approach may be the finesse, in my opinion, is in the construction. &amp;nbsp;These are neat with a very fine construction and effective use of z-stacking effects.</description></item><item><title>great converastion going on Greg's blog</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#550244</link><pubDate>Mon, 13 Mar 2006 10:17:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550244</guid><dc:creator>Kam VedBrat</dc:creator><description>Greg's started a great converation on his blog about the internals of the DWM. &lt;br&gt;I want to take a second...</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#550892</link><pubDate>Tue, 14 Mar 2006 04:54:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550892</guid><dc:creator>CodeMonkey</dc:creator><description>This has been a great blog entry Greg. &amp;nbsp;I have a couple of questions that I would love to see answered.&lt;br&gt;&lt;br&gt;1. Do you know of a solution to the mirror driver vs. compositing engine problem? &amp;nbsp;To recap it, the mirror driver has been an excellent method of getting screen contents in an efficient manner, however, in Vista a mirror driver will force the compositing engine to turn off. &amp;nbsp;Has there been a method identified to get the composited screen contents back from the video hardware in an efficient way?&lt;br&gt;&lt;br&gt;2. Is there an API to get the contents of windows belonging to a specific application (either before or after the composition engine takes it for its magic carpet ride)? &amp;nbsp;Furthermore is there a way to get those contents AND the surrounding window frame?&lt;br&gt;&lt;br&gt;Thanks Greg. &amp;nbsp;I'm looking forward to more great info on DWM and the reworked Graphics/Video pipeline.</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#552577</link><pubDate>Thu, 16 Mar 2006 07:44:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552577</guid><dc:creator>Oluf Nissen</dc:creator><description>Greg,&lt;br&gt;&lt;br&gt;I really liked your talk at the PDC (a late compliment, I know!) That 15 puzzle demo just blew me away. Anyway, here's my real comment:&lt;br&gt;&lt;br&gt;I noticed that the DWM sometimes gets turned off, so that the &amp;quot;Glass&amp;quot; experience is disabled. Under what circumstances does this happen? How does Vista detect that the DWM needs to be turned off?&lt;br&gt;&lt;br&gt;I noticed this happening when running iTunes 6.0.2.23 and QuickTime Player 7.0.4.&lt;br&gt;&lt;br&gt;Any comments?</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#552798</link><pubDate>Thu, 16 Mar 2006 16:32:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552798</guid><dc:creator>Michael Price</dc:creator><description>Oluf,&lt;br&gt;&lt;br&gt;I noticed the iTunes/QuickTime badness recently as well. &amp;nbsp;I'm not sure, but my uninformed guess is that Apple is using DirectDraw to draw their iTunes window. &amp;nbsp;Use of DirectDraw will disable desktop composition. &amp;nbsp;I also assume that Apple is planning on fixing this.&lt;br&gt;&lt;br&gt;I'm sure Greg can elaborate on the conditions that turn off the composition engine. &amp;nbsp;At least the OS autodetects when it is safe to reenable.&lt;br&gt;&lt;br&gt;Michael Price</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#555161</link><pubDate>Mon, 20 Mar 2006 00:58:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:555161</guid><dc:creator>PatriotB</dc:creator><description>&amp;quot;2. Is there an API to get the contents of windows belonging to a specific application (either before or after the composition engine takes it for its magic carpet ride)?&amp;quot;&lt;br&gt;&lt;br&gt;PrintWindow(), WM_PRINT and/or WM_PRINTCLIENT may be what you're looking for. &amp;nbsp;Not sure whether they can include the DWM-rendered window frame.</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#569169</link><pubDate>Wed, 05 Apr 2006 21:04:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:569169</guid><dc:creator>Arlie Davis</dc:creator><description>Stephane,&lt;br&gt;&lt;br&gt;What occurs is actually a lot faster than blitting a back buffer to the front buffer during vblank. &amp;nbsp;All modern graphics cards simply use a pointer to the current front buffer, so &amp;quot;flipping&amp;quot; is as easy as changing a register in the graphics card. &amp;nbsp;Then the hardware that reads pixel values and sends them to the DACs (for analog RGB) or to the digital DVI just reads pixels from a different memory location.&lt;br&gt;</description></item><item><title>re: Responding to Comments from "Under the Hood of the DWM"</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#569284</link><pubDate>Wed, 05 Apr 2006 23:17:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:569284</guid><dc:creator>-</dc:creator><description>&amp;gt; I assume you're referring to the issue on XP &lt;br&gt;&amp;gt; and before that when you drag a window with &lt;br&gt;&amp;gt; video, the video lags the window. &amp;nbsp;That's &lt;br&gt;&amp;gt; because in those systems, hardware overlays are &lt;br&gt;&amp;gt; being used. &amp;nbsp;In Vista, the window is &lt;br&gt;&amp;gt; composited, and everything is in sync, so no &lt;br&gt;&amp;gt; more lag. &lt;br&gt;&lt;br&gt;I hope overlays are still an option. Every other method to playback videos increases CPU usage brutally - up to the point where most CPU is spent on that. I can do 1280x720 with overlays, but only 640x480 without, even using hardware colorspace conversion and resizing. For example VMR9 is &amp;quot;bad&amp;quot; - very bad for me. I don't care about the glitches - I know where they come from, no problem.</description></item><item><title>Desktop Window Manager Index of Post Topics</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#580419</link><pubDate>Fri, 21 Apr 2006 10:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580419</guid><dc:creator>Greg Schechter's Blog</dc:creator><description>Here's a list of topics that I have posted on (with active links) or expect to post on (without links)...</description></item><item><title>DWM &amp;amp;amp; Aero Glass at work</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#621938</link><pubDate>Thu, 08 Jun 2006 14:01:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:621938</guid><dc:creator>David Boschmans Weblog</dc:creator><description>When talking about WPF during the Windows Vista ISV Touchdown training a lot of people were interested...</description></item><item><title>DWM &amp; Aero Glass at work</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#3008252</link><pubDate>Thu, 31 May 2007 16:58:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3008252</guid><dc:creator>David Boschmans Weblog</dc:creator><description>&lt;p&gt;When talking about WPF during the Windows Vista ISV Touchdown training a lot of people were interested&lt;/p&gt;
</description></item><item><title>There is no .NET in Vista Code? - Page 2 | keyongtech</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#9364583</link><pubDate>Thu, 22 Jan 2009 11:05:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9364583</guid><dc:creator>There is no .NET in Vista Code? - Page 2 | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/4483729-there-is-no-net-in/2"&gt;http://www.keyongtech.com/4483729-there-is-no-net-in/2&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Greg Schechter s Blog Responding to Comments from Under the Hood of | Wood TV Stand</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/03/10/549310.aspx#9673584</link><pubDate>Mon, 01 Jun 2009 03:32:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9673584</guid><dc:creator> Greg Schechter s Blog Responding to Comments from Under the Hood of | Wood TV Stand</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://woodtvstand.info/story.php?id=6527"&gt;http://woodtvstand.info/story.php?id=6527&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>