|
Tag TransportDIBs with the device scale factor they expect.
After DPI changes, the renderer can send paints at the old DPIness
for a few frames, until the "new DPIness" IPC arrives. Tag TransportDIBs
with the intended scale factor, so that the browser process can compensate
for paints at the wrong resolution temporarily.
Implement this compensation logic on mac.
Most of the DPI switching infrastructure still isn't hooked up, so
almost no observable behavior change.
BUG= 128267
TEST=none (chrome/mac no longer crashes on DPIness change if a paint
is pending)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141962
Total comments: 8
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+38 lines, -7 lines) |
Patch |
 |
M |
content/browser/renderer_host/backing_store.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
2 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_gtk.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_gtk.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_mac.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_mac.mm
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_manager.h
|
View
|
1
2
3
|
2 chunks |
+9 lines, -2 lines |
1 comment
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_manager.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_skia.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_skia.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_win.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/backing_store_win.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/test_backing_store.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/test_backing_store.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|