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

Issue 2793653002: Fix non-anti-aliased frame update. (Closed)

Created:
3 years, 8 months ago by capn
Modified:
3 years, 8 months ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, fmalita+watch_chromium.org, Rik, Stephen Chennney, Justin Novosad, blink-reviews, piman+watch_chromium.org, kinuko+watch, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix non-anti-aliased frame update. m_contentsCangeCommitted (now renamed to m_contentsChangeResolved) was not getting set on non-anti-aliased DrawingBuffers, causing us to always skip setting m_animationFrameInProgress to true. This in turn skips calling glReadPixels() for CPU-composited frames. BUG=707298, 608873 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2793653002 Cr-Commit-Position: refs/heads/master@{#461542} Committed: https://chromium.googlesource.com/chromium/src/+/5f8b467781b1b08d611e1d05f31c10dee5538edb

Patch Set 1 #

Total comments: 1

Patch Set 2 : Renamed resolve() to resolveIfNeeded() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -14 lines) Patch
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 1 3 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 6 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
capn
PTAL
3 years, 8 months ago (2017-03-31 20:16:29 UTC) #5
Justin Novosad
I think a simple unit test in DrawingBufferTest.cpp would be appropriate. https://codereview.chromium.org/2793653002/diff/1/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): ...
3 years, 8 months ago (2017-03-31 20:26:54 UTC) #6
Ken Russell (switch to Gerrit)
Good find and fix Nicolas. Could you add a test for this? Perhaps a new ...
3 years, 8 months ago (2017-04-01 00:07:20 UTC) #10
capn
On 2017/03/31 20:26:54, Justin Novosad wrote: > I think a simple unit test in DrawingBufferTest.cpp ...
3 years, 8 months ago (2017-04-03 17:41:18 UTC) #11
capn
On 2017/04/01 00:07:20, Ken Russell wrote: > Good find and fix Nicolas. > > Could ...
3 years, 8 months ago (2017-04-03 17:44:20 UTC) #12
Ken Russell (switch to Gerrit)
On 2017/04/03 17:44:20, capn wrote: > On 2017/04/01 00:07:20, Ken Russell wrote: > > Good ...
3 years, 8 months ago (2017-04-03 18:31:42 UTC) #13
Ken Russell (switch to Gerrit)
I'll lgtm to unblock but would push for new tests along with the fix. Ready ...
3 years, 8 months ago (2017-04-03 18:32:28 UTC) #14
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/2793653002/20001
3 years, 8 months ago (2017-04-03 19:10:48 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 21:16:54 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5f8b467781b1b08d611e1d05f31c...

Powered by Google App Engine
This is Rietveld 408576698