Re: capturing the primary display



selvaganesan@xxxxxxxxx staggered into the Black Sun and said:

Tried to fix this so it's more understandable. If I've messed up your
meaning, say something.

I would like to capture the primary display and [draw it] into [a]
window. How can i access [the] memory area of the display? My
application should render the primary display continously by only
updating the changes in the screen.

This sounds like you're trying to reinvent x11vnc or vino or KDE Desktop
Sharing. I think you should be more specific about the problem you're
trying to solve.

The intention is to [draw] the primary display in [an] application
window on the same machine.

Huh? This doesn't make a lot of sense. Does this machine have multiple
Displays? Is it dual-head? Is it using Xinerama? You need to be more
specific about the X config and the hardware you're using. It sounds
like you have multiple monitors, maybe in separate Screens, maybe not,
and you want the contents of one monitor displayed on another monitor,
potentially scaled down. This could get tricky and might be slow. ISTR
something on comp.os.linux.* about someone who wanted to do something
similar to this using a VNC-analogue, but I can't find the message and
its eventual solution in my notes. Oh well, HTH anyway,

--
The early bird who catches the worm works for someone who comes in
late and owns the worm farm. --Travis McGee
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: Refresh rate on HP zx5000
    ... I suspect the monitor's refresh is the culprit. ... vertical as the window is moved across the screen. ... was if I was currently playing a 3D game (which ties up one display ... The Monitor tab shows default monitor, ...
    (microsoft.public.windowsxp.general)
  • Re: Refresh rate on HP zx5000
    ... vertical as the window is moved across the screen. ... was if I was currently playing a 3D game (which ties up one display ... The Monitor tab shows default monitor, ... And the refresh rate I believe is dependent on your GPU. ...
    (microsoft.public.windowsxp.general)
  • Re: Selecting display in dual monitor system
    ... During the show, one monitor will display the score, the other will display information pertinent to the current game. ... It it were me, I would add code to save/restore window layout on exit/start, manually place the app windows where I want them and be done. ...
    (microsoft.public.vc.mfc)
  • Re: Selecting display in dual monitor system
    ... During the show, one monitor will display the score, the other will display information pertinent to the current game. ... It it were me, I would add code to save/restore window layout on exit/start, manually place the app windows where I want them and be done. ...
    (microsoft.public.vc.mfc)
  • Re: capturing the primary display
    ... I would like to capture primary display. ... and you want the contents of one monitor displayed on another monitor, ... late and owns the worm farm. ...
    (comp.os.linux.x)