Hi,

I'm seeking for a way to draw on an arbitrary memory area with Java2D.
The memory area is not in Java heap, so I'm asking helps.

I need to implement some portion of drawings in my application
with native codes for performance reason. Actually I'm trying to blit
Java2D-drawn images with alpha channel to the display surface
using DirectDraw. There should not be performance penalty.

Is the current Java2D implementation relying on a specific type of data
buffers(such as DataBufferInt which is final)? Is there any way
to wrap arbitrary memory areas as data buffers without copying
memory areas from here to there?

I think if it's possible, we can also modify Swing repaint manager to
allocate
buffer as a DirectDraw surface and blit VRAM-to-VRAM.

Any helps will be appreciated.

Thanks in advance.

==================
 Kim, DoHyung
 Assistant Engineer
 4DL, Inc.
==================

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to