[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Mon, 19 Apr 2010 15:15:17 +0000 (15:15 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Mon, 19 Apr 2010 15:15:17 +0000 (15:15 +0000)
  - HW accelerated StretchBlt when possible in EngAlphaBlend

svn path=/branches/reactos-yarotows/; revision=46941

subsystems/win32/win32k/eng/alphablend.c

index d54af52..410f722 100644 (file)
@@ -139,12 +139,7 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
         SourceStretchedRect.right = SourceStretchedSize.cx;
         SourceStretchedRect.top = 0;
         SourceStretchedRect.bottom = SourceStretchedSize.cy;
-        /* FIXME: IntEngStretchBlt isn't used here atm because it results in a
-                  try to acquire an already acquired mutex (lock the already locked source surface) */
-        /*if (!IntEngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL,
-                              NULL, &SourceStretchedRect, SourceRect, NULL,
-                              NULL, NULL, COLORONCOLOR))*/
-        if (!EngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL, NULL,
+        if (!IntEngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL, NULL,
                            NULL, NULL, &SourceStretchedRect, &InputRect,
                            NULL, COLORONCOLOR))
         {