Add: [OpenGL] Support for a separate animation buffer that stores the palette values of the screen in addition to the colour buffer.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:42 +01:00
parent 01ef44fa4f
commit 200be7d20c
6 changed files with 122 additions and 6 deletions

View File

@@ -121,6 +121,24 @@ public:
return false;
}
/**
* Does this video driver support a separate animation buffer in addition to the colour buffer?
* @return True if a separate animation buffer is supported.
*/
virtual bool HasAnimBuffer()
{
return false;
}
/**
* Get a pointer to the animation buffer of the video back-end.
* @return Pointer to the buffer or nullptr if no animation buffer is supported.
*/
virtual uint8 *GetAnimBuffer()
{
return nullptr;
}
/**
* An edit box lost the input focus. Abort character compositing if necessary.
*/