An urgent question: is there a way to create a managed image and have different “views” of the same video memory ?
It would be nice to share the same accelerated raster among several bufferedImages. This would be of great help in case of video applications:
I could create one full image ( i.e. 720x576 ) and two images representing odd and even fields ( 720x288 ) by sharing the same memory.
Currently I can do this with “normal” BufferedImages by using:
DataBufferInt db = new DataBufferInt(pixels,pixels.length,pixoffset);
WritableRaster wr = WritableRaster.createPackedRaster(db,width,height,rowints,bm,null);