The word is – "Java on Vista: Yes, it Works"

Some folks have noticed that when they run Java applets in the browser, that Aero and desktop composition would get disabled.  This was due to Java locking the primary buffer, and when that happens, the DWM no longer has access to the resources needed to draw the desktop, therefore we disable desktop composition.  Sun has…

4

A Couple of Cool Uses of the DWM Thumbnail APIs

I’ve seen a couple of cool uses in the past week of the DWM Thumbnail API (described in my previous post) and wanted to share them here. “Simon on the .NET” wrote a great-looking Expos√©-like mini-app that, when you press F12, shows a representation of all the desktop windows in a grid.  The original desktop is…

7

APIs in the Desktop Window Manager

For the most part, the Vista Desktop Window Manager is an end-user feature.  However, because it so fundamentally changes the game of how the desktop gets composed, there was both the opportunity and the requirement to introduce a relatively small number of APIs that impact how the DWM operates, and allows the programmer to take…

15

Responding to Comments on "High DPI Support in Windows Aero Vista"

I received a number of great comments and questions on my last post about High DPI Support in Windows Aero Vista. Adrian makes a very solid point about applications that do in fact work correctly at high DPI, and scale appropriately, and in general are very good “DPI citizens”, however, they haven’t set the manifest…

8

High DPI Support in Windows Vista Aero

A good amount of ink has been spilled on this blog talking about all the cost, nuance, impact, and techniques we go through to get a composited desktop.  Less ink is spilled on the benefits of the composited desktop.  Those were most broadly covered in this initial post.  I’d like to expand on one such…

21

How underlying WPF concepts and technology are being used in the DWM

In the earlier posts I’ve done on the DWM, there’s been a hint of the relationship between it and the Windows Presentation Foundation (WPF, aka Avalon).  This post delves deeper into that relationship.  Because of core OS component requirements (the desktop itself of course being a core OS component) regarding the use of managed code,…

12

I’m on TV… and just in time for Mother’s Day…

I got to do this fun Channel9 video the other day with Charles Torre and Tim Sneath.  In it we talk about some of the fundamentals and architecture of the underlying composition system for Windows Presentation Foundation and for the Desktop Window Manager. Just in time for Mother’s Day… she’ll be so proud :-).

1

Redirecting GDI, DirectX, and WPF applications

As mentioned in earlier posts, by far the most important aspect of the DWM is the fact that application windows are redirected to render offscreen, and then the DWM is responsible for compositing those windows to the screen.  So, how exactly does that happen?  That’s what this post is all about.  Redirection is a fairly…

32

Responding to Comments from "The role of the Windows Display Driver Model in the DWM"

As usual, lots of great, insightful comments (and thanks for the kudos)… Jevan on the DWM team gives a nice response to some of the issues raised. Stephane and Lorenzo ask about battery life, heat, and power management.  That’s worthy of a separate post, and I’ll add it to the list of topics.  Foreshadowing, let…

6

The role of the Windows Display Driver Model in the DWM

The Problem Ever since the advent of dedicated graphics processors, even old-school graphics processors that only accelerated GDI blits, the way you would program against them would be similar to how you programmed against the main CPU/memory system before there was virtual memory or interruptible/preemptible processes.  That is, you’d have to be sure to directly…

30