Hello
In the callback CefRenderHandler::OnPaint, the input buffer is in BGRA format and, when the transparency is enabled, the BGR values are alpha premultiplied.
Also the origin of this buffer is upper-left.
In our application, textures are expected (by the visualization layer of code) to have an bottom-left origin and not to be alpha-premultiplied.
This constraint forces us to flip the buffer and, fortunatly rarely, to unmultiply by alpha coefficient.
Is there a way to specify to CEF to return a bottom-left not premultiplied buffer ?
Not sure but I think this kind of question has been already posted and the answer was no.
In that case, does an evolution of CEF possible in that way?
Thanks
ps : Of course, if this is not possible at all, we'll try to modify our visualization layer of code to accept CEF buffer format