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

Issue 2716073002: Remove unused branch in native theme win painting (Closed)

Created:
3 years, 10 months ago by enne (OOO)
Modified:
3 years, 10 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, danakj
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused branch in native theme win painting Once impl-side painting was turned on for the browser compositor, all paint code turned into recording instead of direct rasterizaton. This branch is not used in practice anymore (verified by adding a CHECK and running a win rel try job), so it can be removed. This simplifies the cc::PaintCanvas interface and will allow for it to be possible to make PaintCanvas and SkCanvas be different types. In the future, it could be possible to make PaintRecord save different ops in the recording (like drawScrollbar or some such) and then move this direct rasterization into the compositor to regain this lost optimization from the past. BUG=671433 Review-Url: https://codereview.chromium.org/2716073002 Cr-Commit-Position: refs/heads/master@{#453042} Committed: https://chromium.googlesource.com/chromium/src/+/8205fefc8bff94c075029d00eaeeeb61fbfda67b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Refactor PaintIndirect; add TODO perf comment #

Patch Set 3 : Fix up case statement;add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -16 lines) Patch
M ui/native_theme/native_theme_win.cc View 1 2 2 chunks +8 lines, -16 lines 0 comments Download

Messages

Total messages: 21 (16 generated)
enne (OOO)
See also: https://codereview.chromium.org/2711253003
3 years, 10 months ago (2017-02-24 21:19:38 UTC) #3
Peter Kasting
LGTM! Can you file an appropriate bug for the optimization stuff you mention in the ...
3 years, 10 months ago (2017-02-24 23:10:10 UTC) #8
enne (OOO)
On 2017/02/24 at 23:10:10, pkasting wrote: > Can you file an appropriate bug for the ...
3 years, 10 months ago (2017-02-24 23:23:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2716073002/40001
3 years, 10 months ago (2017-02-25 01:55:47 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-25 02:01:12 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8205fefc8bff94c075029d00eaee...

Powered by Google App Engine
This is Rietveld 408576698