Posted by kiamur
on December 2, 2008 at 4:13 AM PST
I've got one question regarding two volatile images that reside in the vram and about the combining of these two in the moment when they are displayed on the screen.
I have one big volatile image that is my backbuffer for the main graphics I want to display. I have an other volatile image in the vram that has to contain a circle. only this circle should be opaque while the rest of this volatile image should be translucent. Before the main backbuffer is switched to the screen I want to lay the circle at a special coordinate on top of the main buffer in order to mark a specific area on the graphic. The next time I want to display the backbuffer, I would like to place the small circle at different coordinates. This means that the last overlaying of the circle should not have destroyed the contents of the main backbuffer at the location where it appeared the last time.
What I want to do is to replace the former used XOr painting mode that is no longer usable under jse 6 update 10.
I don't want to disable the direct 3d pipeline because all the rest of my graphic rendering is running significantly better since I use update 10. The only thing is that I miss XOr painting as it was a massively used paintmode in our software. I overcame many of the other xor paintings in our software with repaints of only the affected areas but in this case this does not work (due to our architecture).
So the main question is: Is it possible to perform such a combining of two volatile images without destroying the contents on one of them?
If not, then I don't have to look into that direction any longer.