commit | c632aa6337920dae484488f07922b5b10aafb6c6 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Fri Apr 17 16:58:20 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Apr 17 21:36:08 2020 +0000 |
tree | 4c8e8b3599afc02d2adb125d4e89abad5cf8f36f | |
parent | 2686d69bf05ba4f9ee81f6e0a54c5bc54b67ce38 [diff] [blame] |
Flesh out more D3D command list and barrier code. * Adds command queue sync * Adds resource state transitioning Bug: skia:9935 Change-Id: I891ef288fd2b3a1b24d649f0958f1eb83ddea532 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/284317 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
diff --git a/src/gpu/d3d/GrD3DResourceProvider.cpp b/src/gpu/d3d/GrD3DResourceProvider.cpp index c73d780..624eab8 100644 --- a/src/gpu/d3d/GrD3DResourceProvider.cpp +++ b/src/gpu/d3d/GrD3DResourceProvider.cpp
@@ -25,6 +25,6 @@ void GrD3DResourceProvider::recycleDirectCommandList( std::unique_ptr<GrD3DDirectCommandList> commandList) { - commandList.reset(); + commandList->reset(); fAvailableDirectCommandLists.push_back(std::move(commandList)); }