gpu: Add query for debugging dynamic texture map crash

This CL adds a D3D11_QUERY_EVENT to track the use of the dynamic texture
by VideoProcessorBlt and records it in a crash key.

This CL also records whether the dynamic texture was newly created when
the crash happens and changes the name of the existing crash key for
consistency.

Bug: 890227
Change-Id: I762ca9c0e4a131c3201ee55e0c3abd5478f4b51f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1533322
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#642800}
1 file changed