hybrid wrote: both result in an internal backbuffer image in memory, which is then blit into the main framebuffer, e.g. by SDL, X11, or the Windows window support.
teto wrote:Look in CSoftwareDriver.h
You will find video::CImage* BackBuffer and IZBuffer* ZBuffer.
You could use CSoftwareDriver::createScreenShot but it creates a copy of the backbuffer.
You could access to window handle via getExposedVideoData and act according to platform to get back what's displayed.
There might be a 3rd way but I can't think of anything.
hybrid wrote:Why do you want to access the image?
hybrid wrote:No, pitch is the full width of an image line in bytes. This includes additional space at the end of the line, which is outside the visible range.
hybrid wrote:The lock method does not prevent anything, for IImage classes it's a no-op.
Cool things are a rather vague idea of what should happen, this makes it pretty impossible to give any help.
Users browsing this forum: Google [Bot] and 1 guest