Open mstange opened 6 years ago
The main point that shows up in the profile is the amount of overdraw.
The opaque pass is around 1.22x while the transparent pass is ~2.5x overdraw.
One way that I've been thinking about to deal with this is to ensure we cache pictures that end up having several translucent overlays, so that they are pre-rendered into a surface and we only have to draw them once into the main scene.
I'll need to do some more investigation and find out exactly why the overdraw is that high.
I looked a bit at the GPU capture:
Note: I don't quite understand yet how the transparent pass reaches 2.5x overdraw. As I mentioned, most of the pixels appear to be depth culled.
Scrolling around in the middle part of https://www.newegg.com/pc-build-kits is not 60fps on macOS in a very large Firefox window on my external HiDPI 5k screen.