[ros-diffs] [jgardou] 46941: [WIN32K] - HW accelerated StretchBlt when possible in EngAlphaBlend

jgardou at svn.reactos.org jgardou at svn.reactos.org
Mon Apr 19 17:15:17 CEST 2010


Author: jgardou
Date: Mon Apr 19 17:15:17 2010
New Revision: 46941

URL: http://svn.reactos.org/svn/reactos?rev=46941&view=rev
Log:
[WIN32K]
  - HW accelerated StretchBlt when possible in EngAlphaBlend

Modified:
    branches/reactos-yarotows/subsystems/win32/win32k/eng/alphablend.c

Modified: branches/reactos-yarotows/subsystems/win32/win32k/eng/alphablend.c
URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win32/win32k/eng/alphablend.c?rev=46941&r1=46940&r2=46941&view=diff
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/eng/alphablend.c [iso-8859-1] (original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/eng/alphablend.c [iso-8859-1] Mon Apr 19 17:15:17 2010
@@ -139,12 +139,7 @@
         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))
         {




More information about the Ros-diffs mailing list