aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-05-20 22:41:07 -0700
committerbors-servo <lbergstrom+bors@mozilla.com>2016-05-20 22:41:07 -0700
commit63bbc13fffeaa14f15ff9270f7d6355fab4d3d56 (patch)
tree06034d16c0fd17f79fa524ecf5ec38d46fd91f9a /components/script
parent5fc511a40e4f5710783cd76875fd119997307ad8 (diff)
parent568d454ca628181d41a29418d584489cbfc83c12 (diff)
downloadservo-63bbc13fffeaa14f15ff9270f7d6355fab4d3d56.tar.gz
servo-63bbc13fffeaa14f15ff9270f7d6355fab4d3d56.zip
Auto merge of #11314 - metajack:window-hi-dpi, r=mbrubeck
Make Servo DPI aware on Windows Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [x] These changes do not require tests because testing would be overly difficult Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. This implements system level DPI awareness for Windows. It has three parts: 1. Add a application manifest which is copied alongside servo.exe during build that declares our DPI awareness level. This is needed otherwise DPI queries will return 96dpi and our application will be upscaled on high DPI displays. 2. Rename hidpi_factor to avoid confusion with Glutin's hidpi_factor which does something else. 3. Correctly convert windows sizes on window creation for Windows. Unlike OS X, Windows uses device pixels for window creation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11314) <!-- Reviewable:end -->
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions