mirror of
https://github.com/reactos/reactos.git
synced 2024-10-23 22:40:47 +00:00
[WIN32K]
- HW accelerated StretchBlt when possible in EngAlphaBlend svn path=/branches/reactos-yarotows/; revision=46941
This commit is contained in:
parent
82ad88f1ab
commit
14be9f22bd
|
@ -139,12 +139,7 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
|
||||||
SourceStretchedRect.right = SourceStretchedSize.cx;
|
SourceStretchedRect.right = SourceStretchedSize.cx;
|
||||||
SourceStretchedRect.top = 0;
|
SourceStretchedRect.top = 0;
|
||||||
SourceStretchedRect.bottom = SourceStretchedSize.cy;
|
SourceStretchedRect.bottom = SourceStretchedSize.cy;
|
||||||
/* FIXME: IntEngStretchBlt isn't used here atm because it results in a
|
if (!IntEngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL, NULL,
|
||||||
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,
|
|
||||||
NULL, NULL, &SourceStretchedRect, &InputRect,
|
NULL, NULL, &SourceStretchedRect, &InputRect,
|
||||||
NULL, COLORONCOLOR))
|
NULL, COLORONCOLOR))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue