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

Issue 12816002: Make zoom filter independent of the layer size. (Closed)

Created:
7 years, 9 months ago by danakj
Modified:
7 years, 9 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, Ian Vollick, jonathan.backer, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

Make zoom filter independent of the layer size. Instead of passing a rect based on the size of the layer into the filter operation, just pass the zoom amount, and compute the rect when applying the filter, since the size of the texture being filtered is known there. This deactivates the zoom filter entirely (and sets values to 0's in the IPC code) until https://bugs.webkit.org/show_bug.cgi?id=112221 rolls into chromium. R=piman,jamesr BUG=161936 TBR=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187901

Patch Set 1 #

Patch Set 2 : add rect.h to renderpass.h #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -39 lines) Patch
M ash/magnifier/partial_magnification_controller.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/render_pass.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/render_surface_filters.cc View 1 chunk +10 lines, -5 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 3 4 4 chunks +17 lines, -7 lines 0 comments Download
M ui/compositor/layer.h View 2 chunks +3 lines, -10 lines 0 comments Download
M ui/compositor/layer.cc View 4 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
danakj
+cdn for content/common/cc_messages.cc (The values for the zoom filter are changing from rect+float to int+float. ...
7 years, 9 months ago (2013-03-13 02:20:41 UTC) #1
danakj
+senorblanco
7 years, 9 months ago (2013-03-13 02:54:44 UTC) #2
danakj
Lots of reviewers... piman@ can you please review everything. cdn@ please review the IPC change. ...
7 years, 9 months ago (2013-03-13 02:56:10 UTC) #3
piman
https://codereview.chromium.org/12816002/diff/2018/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/12816002/diff/2018/content/common/cc_messages.cc#newcode44 content/common/cc_messages.cc:44: #endif It's a bit awkward to leave it like ...
7 years, 9 months ago (2013-03-13 06:01:14 UTC) #4
danakj
https://codereview.chromium.org/12816002/diff/2018/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/12816002/diff/2018/content/common/cc_messages.cc#newcode44 content/common/cc_messages.cc:44: #endif On 2013/03/13 06:01:14, piman wrote: > It's a ...
7 years, 9 months ago (2013-03-13 06:05:48 UTC) #5
piman
lgtm
7 years, 9 months ago (2013-03-13 06:06:45 UTC) #6
jschuh
ipc security lgtm
7 years, 9 months ago (2013-03-13 15:19:58 UTC) #7
danakj
I added guards that the zoom filter values are >= 0, as requested by justin.
7 years, 9 months ago (2013-03-13 15:21:15 UTC) #8
Stephen White
LGTM too
7 years, 9 months ago (2013-03-13 15:21:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12816002/17001
7 years, 9 months ago (2013-03-13 15:21:35 UTC) #10
commit-bot: I haz the power
Presubmit check for 12816002-17001 failed and returned exit status 1. INFO:root:Found 6 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-13 15:21:39 UTC) #11
danakj
TBR=sky for removing 2 arguments from the callsite in ash/magnifier/partial_magnification_controller.cc
7 years, 9 months ago (2013-03-13 15:25:17 UTC) #12
danakj
TBR=sky for removing 2 arguments from the callsite in ash/magnifier/partial_magnification_controller.cc
7 years, 9 months ago (2013-03-13 15:25:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12816002/17001
7 years, 9 months ago (2013-03-13 15:26:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12816002/30001
7 years, 9 months ago (2013-03-13 15:29:32 UTC) #15
danakj
7 years, 9 months ago (2013-03-13 18:27:43 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 manually as r187901 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698