Hi,
Thanks for reporting this issue!
Right now I'm busy but I'll take a look at this issue as soon as I can.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Screenshot and hardware acceleration.
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Screenshot and hardware acceleration.
Chromium seems to be using ANGLE when you enable GPU acceleration :
https://en.wikipedia.org/wiki/ANGLE_(software)
Apparently, Google announced intent to implement the future WebGPU standard :
https://en.wikipedia.org/wiki/WebGPU
Taking a screenshot of a DirectX application seems to be rather complicated according to all the information I found and it requires hooking some DirectX API functions to access the raw image :
https://stackoverflow.com/questions/196 ... pplication
I'm sorry but I don't have the required DirectX knowledge to implement that feature.
I can only suggest you to disable the hardware acceleration or to use a browser in OSR mode to take screenshots.
https://en.wikipedia.org/wiki/ANGLE_(software)
Apparently, Google announced intent to implement the future WebGPU standard :
https://en.wikipedia.org/wiki/WebGPU
Taking a screenshot of a DirectX application seems to be rather complicated according to all the information I found and it requires hooking some DirectX API functions to access the raw image :
https://stackoverflow.com/questions/196 ... pplication
I'm sorry but I don't have the required DirectX knowledge to implement that feature.

I can only suggest you to disable the hardware acceleration or to use a browser in OSR mode to take screenshots.
Re: Screenshot and hardware acceleration.
Can be without hook, just add
Code: Select all
globalcefapp.AddCustomCommandLine('--disable-direct-composition');
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Screenshot and hardware acceleration.
All the information about the command switches is here :
https://peter.sh/experiments/chromium-c ... -switches/
https://peter.sh/experiments/chromium-c ... -switches/