Masking parts of desktop (writing driver required?)

Masking parts of desktop (writing driver required?)

Post by Eric Penne » Wed, 19 Mar 2003 09:27:20



Hi All,

I have a project I'd like to take on, and I'm wondering if writing a driver
would be the best way to do it.

Basically, I need to mask parts of the screen with black, such that nothing
(not even a flicker of a pixel) is ever shown in those areas. Apps can still
occupy this space, only the black areas will cover them.

I was thinking that I could write a video driver that will sit on top of the
existing video driver, and mask out the desired areas before passing on the
calls.

Does this sound feasible? Is writing a driver the best way to do this?

Thanks!

Eric

One app that does something similar is the KEYSTONE.EXE that Geforce cards
can use to skew the desktop. Does anyone have any ideas on how this was
implemented?

 
 
 

Masking parts of desktop (writing driver required?)

Post by Maxim S. Shatski » Thu, 20 Mar 2003 03:59:53


What shape must your black areas have?


Quote:> Hi All,

> I have a project I'd like to take on, and I'm wondering if writing a
driver
> would be the best way to do it.

> Basically, I need to mask parts of the screen with black, such that
nothing
> (not even a flicker of a pixel) is ever shown in those areas. Apps
can still
> occupy this space, only the black areas will cover them.

> I was thinking that I could write a video driver that will sit on
top of the
> existing video driver, and mask out the desired areas before passing
on the
> calls.

> Does this sound feasible? Is writing a driver the best way to do
this?

> Thanks!

> Eric

> One app that does something similar is the KEYSTONE.EXE that Geforce
cards
> can use to skew the desktop. Does anyone have any ideas on how this
was
> implemented?


 
 
 

Masking parts of desktop (writing driver required?)

Post by Eric Penne » Thu, 20 Mar 2003 06:16:36


Optimally I would like to have a mask of the entire desktop, such that any
shape(s) can be made
by filling in the appropriate areas of the mask. If there was a large
performance gain I could maybe get away with using primative shapes (ovals,
squares etc.).

I accompished something like this by making a layered topmost window with a
transparency key, but this was rather slow, and certain things would still
get drawn on top of it (other topmost windows etc.)

I don't have any experience making drivers, but I ordered the DDK, and am
willing to put in the time if this is the best route to take.

Thanks again,

Eric



> What shape must your black areas have?



> > Hi All,

> > I have a project I'd like to take on, and I'm wondering if writing a
> driver  would be the best way to do it.

>  Basically, I need to mask parts of the screen with black, such that
> nothing (not even a flicker of a pixel) is ever shown in those areas. Apps
> can still occupy this space, only the black areas will cover them.

> > I was thinking that I could write a video driver that will sit on
> top of the existing video driver, and mask out the desired areas before
passing
> on the calls.

> > Does this sound feasible? Is writing a driver the best way to do
> this?

> > Thanks!

> > Eric

> > One app that does something similar is the KEYSTONE.EXE that Geforce
> cards can use to skew the desktop. Does anyone have any ideas on how this
> was implemented?

 
 
 

1. has anyone written a mirror driver that captures the desktop?

hi all.

we have been trying to capture the desktop using a mirror driver.

but we are unable to get any of the 'rectangles' (windows)
that show up on the desktop.

has nayone got a clue as to which DrvXXX are supposed to capture
rectuangles?

please help us.

assaf
Tel Aviv Academy
Israel

2. AOL, Microsoft Pact Shakes up Web Rivalries

3. Info required for writing graphics filter driver

4. DNS Statistic Tools?

5. Info required on computation of NMR (Noise-to-Mask Ratio)

6. Nikon Coolscan XP drivers?

7. *** Edit Mask Option: REQUIRED ***

8. Windows 2000 Logon.

9. Write-mask problem with "win" device?

10. Edit Mask/Format Mask

11. Urgent Required, Desktop Support Lead, in Cary, NC.

12. Does Tornado require write access to download links/libraries?

13. Time required to write automation?