direct memory access to backbuffer



Hi,

I have a JFrame using double-buffering (createBufferStrategy(..)) and was
wondering if it's possible to get direct access to the backbuffer's memory?
The only thing I seem to be able to get is a Graphics object,
(frame.getBufferStrategy().getDrawGraphics();) and don't know how to get the
component it's writing on

I'd hope to be able to do like the following, except where 'image' is
replaced with something returned from getBufferStrategy(), in some way

BufferedImage image = new BufferedImage(10, 10,
BufferedImage.TYPE_INT_ARGB);
int[] d = ((DataBufferInt)image.getRaster().getDataBuffer()).getData();

Thank you kindly,
Eliott


.



Relevant Pages

  • Re: direct access to display memory
    ... DirectX allows direct access to video memory. ... "Masoud Rozati" wrote in message ... >I need a quick and efficient way of accessing display memory. ...
    (microsoft.public.win32.programmer.gdi)
  • 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)