I'm currently dealing with a weird issue I experienced with CEF in OSR mode. Apparently, the red and blue channels are swapped on some integrated Intel HD graphics cards while it works fine on all other graphics cards.
Screenshots:
Intel HD: https://dl.dropboxusercontent.com/u/144 ... rated1.png
Dedicaded NVIDIA: https://dl.dropboxusercontent.com/u/144 ... ernal1.png
This is our texture-copying/-creation code:
- OnPaint: https://github.com/multitheftauto/mtasa ... #L634-L660
- Copying texture: https://github.com/multitheftauto/mtasa ... #L193-L264
- Texture creation with BGRA: https://github.com/multitheftauto/mtasa ... er.cpp#L97
We're using CEF 3.2743.1444.g7c94121 at the moment, it is reproducable with older CEF versions as well though. However, the people who are experiencing the bug are not able to reproduce it with the latest cefclient with offscreen-rendering enabled.
Also, turning on "Windows XP SP3" compatibility mode fixed it for one of our users at least.
More details:
- DxDiag logs: https://pastebin.mtasa.com/483651432 + https://pastebin.mtasa.com/919681108
- Original bugreport: https://bugs.mtasa.com/view.php?id=9367
Kind Regards