0

Add dcomp.dll to DelayLoad List

On Windows, it is very useful to be able to load and use
dcomp.dll to be able to access Windows 11's DirectComposition
APIs.

Specifically for an upcoming fix in Chromium, the ability to
call the DWM Compositor clock function to receive proper
updates for presentation durations when there are multiple
monitors with unmatched refresh rates are present will be
crucial.

This requires adding dcomp.dll to the list of delay loaded
DLLs into the Chromium build environment.

Bug: 360354541
Change-Id: I334b04c81c88eac2c30d495be257ee0671b7cfed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5796846
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Alan Zhao <ayzhao@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1345221}
This commit is contained in:
Sung.Lee@amd.com
2024-08-22 03:04:42 +00:00
committed by Chromium LUCI CQ
parent cac866e420
commit fc2175babb
2 changed files with 2 additions and 0 deletions
AUTHORS
build/config/win

@ -1359,6 +1359,7 @@ Sunchang Li <johnstonli@tencent.com>
Sundoo Kim <nerdooit@gmail.com>
Sundoo Kim <0xd00d00b@gmail.com>
Suneel Kota <suneel.kota@samsung.com>
Sung Lee <sung.lee@amd.com>
Sungguk Lim <limasdf@gmail.com>
Sunghyeok Kang <sh0528.kang@samsung.com>
Sungmann Cho <sungmann.cho@gmail.com>

@ -423,6 +423,7 @@ config("delayloads") {
"/DELAYLOAD:d3d11.dll",
"/DELAYLOAD:d3d12.dll",
"/DELAYLOAD:d3d9.dll",
"/DELAYLOAD:dcomp.dll",
"/DELAYLOAD:dwmapi.dll",
"/DELAYLOAD:dxgi.dll",
"/DELAYLOAD:dxva2.dll",