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

Issue 10175001: Update painting code for AutocompletePoupContentsView for high DPI (Closed)

Created:
8 years, 8 months ago by pkotwicz
Modified:
8 years, 7 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org, msw
Visibility:
Public.

Description

In high DPI mode, we need to be careful whenever we use intermediate bitmaps for painting. In the case of the omnibox we were drawing into a non scaled intermediate bitmap which is then drawn to a scaled destination bitmap. This yielded an ugly 2x pixelated look. In this patch, we remove the intermediate bitmap all together as it seems no longer necessary Bug=None Test=Non pixelated @ 2x scale Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136028

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased #

Patch Set 3 : Nicer diff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -28 lines) Patch
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc View 1 chunk +9 lines, -28 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
pkotwicz
Mike, can you verify that the concerns expressed in the code comments are not valid ...
8 years, 8 months ago (2012-04-22 18:57:47 UTC) #1
pkotwicz
Ping!
8 years, 8 months ago (2012-04-27 21:16:06 UTC) #2
pkotwicz
Ping!
8 years, 8 months ago (2012-04-27 21:16:32 UTC) #3
reed1
lgtm don't understand all of the context, but that is the right way (it seems) ...
8 years, 7 months ago (2012-04-30 20:45:06 UTC) #4
pkotwicz
msw can you take a look that I didn't miss anything?
8 years, 7 months ago (2012-04-30 20:50:48 UTC) #5
msw
+Ben for review; PTAL. Sorry that this fell off my plate; I'm only on annotate/blame ...
8 years, 7 months ago (2012-05-04 23:50:38 UTC) #6
Ben Goodger (Google)
http://codereview.chromium.org/10175001/diff/1/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc (right): http://codereview.chromium.org/10175001/diff/1/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc#newcode390 chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc:390: true /* doAntialias */); Won't this result in a ...
8 years, 7 months ago (2012-05-07 15:29:45 UTC) #7
Ben Goodger (Google)
Or is that what soft clipping does?
8 years, 7 months ago (2012-05-07 15:30:03 UTC) #8
pkotwicz
Soft clipping does antialiasing
8 years, 7 months ago (2012-05-07 16:01:22 UTC) #9
Ben Goodger (Google)
On 2012/05/07 16:01:22, pkotwicz wrote: > Soft clipping does antialiasing Cool! LGTM.
8 years, 7 months ago (2012-05-07 16:50:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10175001/1
8 years, 7 months ago (2012-05-09 00:04:32 UTC) #11
commit-bot: I haz the power
Try job failure for 10175001-1 on win_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=27227 Step "update" is always ...
8 years, 7 months ago (2012-05-09 00:38:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10175001/15002
8 years, 7 months ago (2012-05-09 02:18:19 UTC) #13
commit-bot: I haz the power
Try job failure for 10175001-15002 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 7 months ago (2012-05-09 03:39:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10175001/15002
8 years, 7 months ago (2012-05-09 05:08:27 UTC) #15
commit-bot: I haz the power
8 years, 7 months ago (2012-05-09 08:30:16 UTC) #16
Try job failure for 10175001-15002 (retry) (retry) on win_rel for step
"browser_tests" (clobber build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698