Use Blend effect to composite with Graphics destination image
I have been looking at java hardware accelerated multiply or overlay kind of blending mode for years... Chris Campbell was refering to a PhotoComposite API to do that in jdk7. I don't know whether it is still in the plans... Anyway, it looks like the scenegraph API offer such capabilities throught the Blend effect class.
My problem is that I am working on a fullscreen application using BufferStrategy where I cannot convert my entire screen into a scene graph. I would like to use several smaller scene graphs in some cases and render them on the screen using the Graphics2d object returned by the BufferedStrategy.
If I understood properly, the Blend objects take a bottom input and top input and perform the blending. The issue here is that I cannot access the destination offsreen buffer of the BufferedStrategy in order to provide it as an input to the Blend object...
Is there any way to have the Blend object use the Graphics object destination image as an input ? In other words, I am just trying to figure out if is posssible to perform a simple thing like using a Blend object to render an image in MULTIPLY Blend.Mode through a Graphics2D objects.