The per-pixel overhead of accessing VRAM would probably be more
noticeable than the per-operation overhead of getting the pixels into
the pipeline - unless there was a lot of overlap between the sysmem images.
With little or no overlap then it might even be faster to blit the
component sysmem images rather than a single blit of the "framebuffer"
image - depending on the difference in the number of pixels touched...
...jim
[EMAIL PROTECTED] wrote:
Yeah well I was being a bit stupid.
I wanted to copy all my sysmem images (just plain int[]'s) to the int[] data of one big
bufferedimage (the framebuffer). Obviously blitting all those sysmem images individually to
vram using a bufferedimage per sysmem image would add more overhead vs one framebuffer blit.
But all "overlaps" between sysmem & direct vram blits are lost that way
ofcourse... So I guess there's no way around doing one bufferedimage per sysmem image.
[Message sent by forum member 'bitshit' (bitshit)]
http://forums.java.net/jive/thread.jspa?messageID=253587
===========================================================================
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".
===========================================================================
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".