Re: direct access to display memory

From: Louis Solomon [SteelBytes] (louis_at_steelbytes.spam-is-bad.com)
Date: 09/14/04


Date: Wed, 15 Sep 2004 09:50:42 +1000

DirectX allows direct access to video memory.

read up on CreateSurface and GetGDISurface etc

-- 
Louis Solomon
www.steelbytes.com
"Masoud Rozati" <masoud@ansari.nospam.de> wrote in message 
news:eN74AhmmEHA.1136@TK2MSFTNGP10.phx.gbl...
>I need a quick and efficient way of accessing display memory. In fact what 
>I
> am going to do is capturing a portion of the screen given its coordinates. 
> I
> don't want to get a copy of bitmap data elsewhere, because that reduces my
> performance.
> I am not sure if using GDI/GDI+ is the right solution for my problem. So 
> my
> questions:
> 1. Is it basically possible to directly access the display memory of
> Windows? if so, which API / function provides such means?
> 2. What is the fastest way of reading a portion of screen or application
> display given the coordinates of that area?
> 3. How can I find out which pixel within a specific area are changed. I am
> going to gather image updates in a minimal way (only changed pixels)
>
> Any help is appreciated
> Masoud
>
> 


Relevant Pages

  • Re: Sandboxing
    ... I want to sandbox Mozilla Firefox. ... The X *server* needs direct access to memory. ...
    (FreeBSD-Security)
  • Re: [opensuse] Re: Creating a swap file
    ... than the full-size "word" of most architectures of the time. ... That's not direct access to a bit, ... would compare directly to a certain bit in a byte in memory. ... Of course, now that memory is nearly infinite for nearly zero cost, ...
    (SuSE)
  • Re: An efficient marriage between memory and chips...
    ... I was thinking that memory bank could ... Each chip would have direct access to ... I was not really trying to directly connect the chips to the ... This thing would have a distributed multi-threaded programming model. ...
    (comp.arch)
  • direct memory access to backbuffer
    ... I have a JFrame using double-buffering ) and was ... wondering if it's possible to get direct access to the backbuffer's memory? ...
    (comp.lang.java)