Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 100923011: Initialize high dpi early in the chrome process on Windows by calling the SetProcessDpiAware API in… (Closed)

Created:
7 years ago by ananta
Modified:
7 years ago
Reviewers:
cpu_(ooo_6.6-7.5), sky
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Initialize high dpi early in the chrome process on Windows by calling the SetProcessDpiAware API in chrome.exe instead of chrome.dll This API needs to be invoked as early as possible in the process. Not doing this causes the OS to assume that the process needs dpi scaling which leads to bad things. We also need to initialize high dpi in the gpu process as it is involved in win32 operations like painting, etc. BUG=330093 R=cpu@chromium.org TBR=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242182

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M chrome/app/chrome_exe_main_win.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ananta
7 years ago (2013-12-20 03:15:52 UTC) #1
cpu_(ooo_6.6-7.5)
lgtm As long as chrome.exe does not grow more than a few kilobytes with this ...
7 years ago (2013-12-20 20:39:06 UTC) #2
ananta
TBR'ing sky. Will address any comments in a followup.
7 years ago (2013-12-20 20:59:11 UTC) #3
ananta
7 years ago (2013-12-20 21:46:41 UTC) #4
Message was sent while issue was closed.
Committed patchset #5 manually as r242182.

Powered by Google App Engine
This is Rietveld 408576698