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

Issue 2804953008: cc: Make surface aggregator convert surface quad to RPDQ correctly (Closed)

Created:
3 years, 8 months ago by sunxd
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make surface aggregator convert surface quad to RPDQ correctly SurfaceAggregator used to arbitrarily set a place holder for tex_coord_rect when converting surface quad to RPDQ. This results in not applying any texture when effects are applied to the whole surface. This patch corrects the value to be surface_quad->rect. BUG=709369, 710040 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2804953008 Cr-Commit-Position: refs/heads/master@{#463495} Committed: https://chromium.googlesource.com/chromium/src/+/1ab7d98f69b14b75c21925564b099792ac13c2aa

Patch Set 1 #

Patch Set 2 : Add unit test. #

Patch Set 3 : Init expected tex_coord_rect. #

Patch Set 4 : Revert "Add unit test." #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M cc/surfaces/surface_aggregator.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
sunxd
PTAL.
3 years, 8 months ago (2017-04-07 18:50:38 UTC) #7
trchen
lg tm, but I don't have enough expertise in this area of code.
3 years, 8 months ago (2017-04-07 20:30:15 UTC) #8
jbauman
lgtm
3 years, 8 months ago (2017-04-07 20:34:21 UTC) #9
danakj
Can has unit test?
3 years, 8 months ago (2017-04-07 21:17:07 UTC) #13
sunxd
I have added unit tests. However, the hard coded gfx::RectF(5,5) comes from https://cs.chromium.org/chromium/src/cc/test/surface_aggregator_test_helpers.cc?l=72&gs=cpp%253Acc%253A%253Atest%253A%253AAddQuadInPass(cc%253A%253ARenderPass%2B*%252C%2Bconst%2Bcc%253A%253Atest%253A%253AQuad%2B%2526)%2540chromium%252F..%252F..%252Fcc%252Ftest%252Fsurface_aggregator_test_helpers.cc%257Cdef&gsn=AddQuadInPass&ct=xref_usages. I haven't ...
3 years, 8 months ago (2017-04-10 15:36:58 UTC) #14
sunxd
PTAL again. Need to land this to fix a P1 bug, maybe we can land ...
3 years, 8 months ago (2017-04-11 00:47:30 UTC) #16
sunxd
I'll land the fix first, and work on unit tests later.
3 years, 8 months ago (2017-04-11 00:52:52 UTC) #19
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/2804953008/60001
3 years, 8 months ago (2017-04-11 00:53:09 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 02:03:53 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/1ab7d98f69b14b75c21925564b09...

Powered by Google App Engine
This is Rietveld 408576698