Commit 599239a4 authored by Sunny Sachanandani's avatar Sunny Sachanandani Committed by Commit Bot

Add D3D device removed reason to minidump

R=piman
CC=zmo
BUG=794735

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I3919d0e62ed445ae1f254c4b106df721e2139d32
Reviewed-on: https://chromium-review.googlesource.com/1004001Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549669}
parent 7eb4a780
...@@ -239,6 +239,10 @@ bool CopyingGLImageDXGI::Initialize() { ...@@ -239,6 +239,10 @@ bool CopyingGLImageDXGI::Initialize() {
&desc, nullptr, decoder_copy_texture_.GetAddressOf()); &desc, nullptr, decoder_copy_texture_.GetAddressOf());
// TODO(sunnyps): Remove after fixing https://crbug.com/794735 // TODO(sunnyps): Remove after fixing https://crbug.com/794735
base::debug::Alias(&hr); base::debug::Alias(&hr);
if (hr == DXGI_ERROR_DEVICE_REMOVED) {
HRESULT reason_hr = d3d11_device_->GetDeviceRemovedReason();
base::debug::Alias(&reason_hr);
}
CHECK(SUCCEEDED(hr)); CHECK(SUCCEEDED(hr));
EGLDisplay egl_display = gl::GLSurfaceEGL::GetHardwareDisplay(); EGLDisplay egl_display = gl::GLSurfaceEGL::GetHardwareDisplay();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment