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

Issue 264713014: Remove the composited path from WebViewImpl::paint(). (Closed)

Created:
6 years, 7 months ago by danakj
Modified:
6 years, 7 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, ojan, piman, boliu
Visibility:
Public.

Description

Remove the composited path from WebViewImpl::paint(). Now that we have WebWidget::compositeAndReadbackAsync() for layout tests and WebWidget::paintCompositedDeprecated() for android, the WebWidget::paint() method is only used for actually painting into a GraphicsContext when the WebViewImpl is not composited. Remove the composited path from this method and ASSERT that the WebViewImpl is not being composited. Also remove the WebViewImpl::doPixelReadbackToCanvas(). Depends on: https://codereview.chromium.org/266243002/ Depends on: https://codereview.chromium.org/276003002/ R=abarth, enne, aelias BUG=251960, 365810 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173789

Patch Set 1 #

Patch Set 2 : paint-compositor: #

Patch Set 3 : paint-compositor: #

Total comments: 2

Patch Set 4 : paint-compositor: separateandroidcodepath #

Patch Set 5 : paint-compositor: #

Patch Set 6 : paint-compositor: rebase #

Patch Set 7 : paint-compositor: test #

Patch Set 8 : paint-compositor: rebase #

Patch Set 9 : paint-compositor: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -82 lines) Patch
M Source/web/WebPagePopupImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebPagePopupImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebPopupMenuImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebPopupMenuImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -55 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -5 lines 0 comments Download
M public/web/WebWidget.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -16 lines 0 comments Download

Messages

Total messages: 46 (0 generated)
danakj
6 years, 7 months ago (2014-05-02 23:07:21 UTC) #1
danakj
https://codereview.chromium.org/264713014/diff/40001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/264713014/diff/40001/Source/web/WebViewImpl.cpp#newcode1786 Source/web/WebViewImpl.cpp:1786: #if OS(ANDROID) This OS(ANDROID) stuff is a disaster. abarth: ...
6 years, 7 months ago (2014-05-02 23:12:53 UTC) #2
abarth-chromium
I'm not sure what this CL gains us. This codepath is already only reachable on ...
6 years, 7 months ago (2014-05-02 23:15:46 UTC) #3
enne (OOO)
https://codereview.chromium.org/264713014/diff/40001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/264713014/diff/40001/Source/web/WebViewImpl.cpp#newcode1770 Source/web/WebViewImpl.cpp:1770: void WebViewImpl::paint(WebCanvas* canvas, const WebRect& rect) I do think ...
6 years, 7 months ago (2014-05-02 23:16:23 UTC) #4
danakj
On Fri, May 2, 2014 at 7:15 PM, <abarth@chromium.org> wrote: > I'm not sure what ...
6 years, 7 months ago (2014-05-02 23:17:12 UTC) #5
danakj
On 2014/05/02 23:15:46, abarth wrote: > I'm not sure what this CL gains us. This ...
6 years, 7 months ago (2014-05-02 23:20:39 UTC) #6
abarth-chromium
On 2014/05/02 23:17:12, danakj wrote: > I've removing the call to composteAndReadback, ie the if() ...
6 years, 7 months ago (2014-05-02 23:21:12 UTC) #7
danakj
Updated on top of https://codereview.chromium.org/269723008/. This is how it will look with the android thing ...
6 years, 7 months ago (2014-05-02 23:24:51 UTC) #8
aelias_OOO_until_Jul13
lgtm. We'll get tap disambiguation onto the async readback path eventually, but this is a ...
6 years, 7 months ago (2014-05-02 23:31:46 UTC) #9
enne (OOO)
lgtm2
6 years, 7 months ago (2014-05-02 23:43:19 UTC) #10
abarth-chromium
public/ LGTM
6 years, 7 months ago (2014-05-03 01:23:44 UTC) #11
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-06 15:28:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/80001
6 years, 7 months ago (2014-05-06 15:29:00 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-06 15:29:07 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/web/WebViewImpl.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-06 15:29:08 UTC) #15
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-06 15:32:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/100001
6 years, 7 months ago (2014-05-06 15:32:48 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 17:07:49 UTC) #18
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 7 months ago (2014-05-06 17:08:17 UTC) #19
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 22:06:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/100001
6 years, 7 months ago (2014-05-07 22:07:40 UTC) #21
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 22:41:41 UTC) #22
danakj
Looks like there are tests in webkit_unit_tests that call WebViewImpl::paint() but aren't composited, I will ...
6 years, 7 months ago (2014-05-07 22:42:13 UTC) #23
danakj
I fixed the WebViewTest.SetBaseBackgroundColorAndBlendWithExistingContent test by turning off compositing on that WebView it creates, since ...
6 years, 7 months ago (2014-05-07 23:18:02 UTC) #24
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 23:18:08 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/120001
6 years, 7 months ago (2014-05-07 23:19:01 UTC) #26
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 23:23:35 UTC) #27
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-07 23:24:24 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/120001
6 years, 7 months ago (2014-05-07 23:24:59 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 00:35:43 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 01:57:24 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 02:31:20 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink
6 years, 7 months ago (2014-05-08 02:31:21 UTC) #33
danakj
Confusingly, these tests appear to be calling WebViewImpl::paint() on a composited WebView still.. virtual/implsidepainting/inspector/timeline/timeline-paint.html virtual/deferred/inspector/timeline/timeline-paint.html ...
6 years, 7 months ago (2014-05-08 15:43:36 UTC) #34
danakj
On 2014/05/08 15:43:36, danakj wrote: > Confusingly, these tests appear to be calling WebViewImpl::paint() on ...
6 years, 7 months ago (2014-05-08 17:14:03 UTC) #35
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 16:56:40 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/140001
6 years, 7 months ago (2014-05-09 16:57:21 UTC) #37
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 18:26:55 UTC) #38
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 18:28:31 UTC) #39
danakj
Now depends on https://codereview.chromium.org/276003002/ as well, to resolve some new failures with this in some ...
6 years, 7 months ago (2014-05-09 18:29:16 UTC) #40
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 19:33:26 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/140001
6 years, 7 months ago (2014-05-09 19:35:11 UTC) #42
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-09 20:40:15 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/264713014/160001
6 years, 7 months ago (2014-05-09 20:41:27 UTC) #44
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 21:54:35 UTC) #45
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 22:56:16 UTC) #46
Message was sent while issue was closed.
Change committed as 173789

Powered by Google App Engine
This is Rietveld 408576698