<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>winex11.drv: Re-add the optimization for blending 1x1 pixel bitmaps.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>The important part of the 1x1 source image optimization of AllphaBlend is that we can avoid setting the transform. This was removed because there are plans to reuse bitmap pictures, and we will have to account for the possibility that the transform was already set.<BR>
<BR>
This is not a problem for tiling 1x1 images because ANY transform will produce a solid fill (but it will be much slower if a transform is set). It is a problem for 1x1 sections of larger images, so I've changed the test to use the size of the source bitmap instead of the size being copied.<BR>
<BR>
This makes builtin gdiplus's semi-transparent fills fast again.</FONT>
</P>

</BODY>
</HTML>