Closed Bug 1616646 Opened 5 years ago Closed 3 years ago

Texture cache resizes can block subsequent updates on Intel gen 7

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jrmuizel, Unassigned)

References

Details

I've been doing some investigation into bug 1576637 and I've determined that calls to Map() (because of a workaround on Gen7) will block on the MakeResident of a newly allocated texture. This means that when we do resize the texture cache will allocate a new 30MB texture and then we update the gpu cache using Map() we end up waiting for that new texture to be initialized. This can take on the order of 30ms which causes us to totally blow the frame budget.

I have a local test app that confirms this behaviour and I don't see the same symptoms on Gen8 and Gen9 hardware.

Blocks: 1576637

Is it viable to copy through an intermediate upload resource "during" resize?

Priority: -- → P3
Depends on: 1616901

We don't resize the texture cache textures anymore.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.