Re: Some icons are not getting print while using mirror driver
- From: SachinS <SachinS@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Dec 2007 20:14:05 -0800
Ok, I will try it. I will let you know about it.
--
SachinS
"Ivan Brugiolo [MSFT]" wrote:
Try to make your driver simpler..
Can you simpply support only DrvCopyBits and DrvBitBlt
(plus the EnablePDEV/EnableSurface functions ?)
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"SachinS" <SachinS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:49DF72D9-80F6-4E27-B584-2082F857C40E@xxxxxxxxxxxxxxxx
I have used WinCollab.exe and connected my two vista machines. Icons were
properly printed. No issues i found as I am getting with my driver.
My driver need something :( ... don't know what? :)
anything else you need to check?
--
SachinS
"Ivan Brugiolo [MSFT]" wrote:
Can you repro the issue in Vista, without a mirror driver,
with a XPDM driver at some non default color depth (like 24bpp)?
Or, if you have Vista, can you use the in-box rdpencdd.dll
mirror driver to see if it reproes. [You can use WinCollab.exe
and the releated APIs to do desktop sharing to test this].
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"SachinS" <SachinS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:67491FB6-BF53-4C0D-83E5-27E90EDEC608@xxxxxxxxxxxxxxxx
On Windows XP all icons are painted correctly. This problem is only on
Windows Vista.
I have implemented DrvTransparentBlt and DrvAlphBlend as follows:
BOOL DrvTransparentBlt(...)
{
BOOL RetVal = TRUE;
DISPDBG((1,"Mirror Driver DrvTransparentBlt: \n"));
//RetVal = EngTransparentBlt(psoDst, psoSrc, pco, pxlo, prclDst,
prclSrc,
iTransColor, ulReserved);
if(pDrvTransparentBltObj)
{
// I have called EngAlphaBlend inside
pDrvAlphaBlendObj->DrvTransparentBlt
pDrvTransparentBltObj->DrvTransparentBlt(psoDst, psoSrc, pco, pxlo,
prclDst, prclSrc, iTransColor, ulReserved);
}
return RetVal;
}
BOOL DrvAlphaBlend(...)
{
BOOL RetVal = TRUE;
DISPDBG((1,"Mirror Driver DrvAlphaBlend: \n"));
//RetVal = EngAlphaBlend(psoDst, psoSrc, pco, pxlo, prclDst, prclSrc,
pBlendObj);
if(pDrvAlphaBlendObj)
{
// I have called EngAlphaBlend inside
pDrvAlphaBlendObj->DrvAlphaBlend
pDrvAlphaBlendObj->DrvAlphaBlend(psoDst,
psoSrc,
pco, pxlo, prclDst, prclSrc, pBlendObj);
}
return RetVal;
}
Can i do anything?
--
SachinS
"Ivan Brugiolo [MSFT]" wrote:
TransparentBlt is your next stop.
Certain 24bpp Icons have a custom color-key implementation
that relies on the default color of the background brush
for a Dialog to achieve the transparency effect.
Sometimes those mispaints are higher-up in the stack than your
display driver, and, they can be reproduced in TS at 24bpp,
or in older display driver at unusual color depths.
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included script samples are subject to the terms specified
at
http://www.microsoft.com/info/cpyright.htm
"SachinS" <SachinS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9D1622BA-D95F-49FA-829C-D0D479748F71@xxxxxxxxxxxxxxxx
yes - our mirror driver and desktop both are at 32bit depth.
and I have hook the DrvAlphBlend function though which just puntting
the
EngAlphaBlend.
--
SachinS
"Ivan Brugiolo [MSFT]" wrote:
Is the mirror driver at the same color depth of the desktop ?
If your driver is at 8bpp and the desktop is at 32bpp, there might
be some down-conversion of the colors that would make layered
windows (or operation that requires AlphaBlend) to make pixel
to saturate on one side of the default palette for the device.
--
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included script samples are subject to the terms
specified
at
http://www.microsoft.com/info/cpyright.htm
"SachinS" <SachinS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:417B0496-44DF-4721-BCC9-7C1C04AA9200@xxxxxxxxxxxxxxxx
Hi,
When I attach my mirror display driver to desktop, some icons
(WinDbg's
icon) are not getting print, these remains black. Can anyone tell
me
what
is
happening and how to solve this issue?
--
SachinS
- References:
- Re: Some icons are not getting print while using mirror driver
- From: Ivan Brugiolo [MSFT]
- Re: Some icons are not getting print while using mirror driver
- From: Ivan Brugiolo [MSFT]
- Re: Some icons are not getting print while using mirror driver
- From: SachinS
- Re: Some icons are not getting print while using mirror driver
- From: Ivan Brugiolo [MSFT]
- Re: Some icons are not getting print while using mirror driver
- From: SachinS
- Re: Some icons are not getting print while using mirror driver
- From: Ivan Brugiolo [MSFT]
- Re: Some icons are not getting print while using mirror driver
- Prev by Date: Re: NDIS test app needed
- Next by Date: Re: Device Status Code 37 (DriverEntry failure) spiteful problem.
- Previous by thread: Re: Some icons are not getting print while using mirror driver
- Next by thread: Communication between CBT_HOOK dll and Hook Setting Application,...
- Index(es):
Relevant Pages
|