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

Issue 607763008: Update GrRecordReplaceDraw to use SkTDynamicHash & add ReplaceDraw (Closed)

Created:
6 years, 2 months ago by robertphillips
Modified:
6 years, 2 months ago
Reviewers:
egdaniel, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Update GrRecordReplaceDraw to use SkTDynamicHash & add ReplaceDraw Having hoisted layers from different pictures invalidates the assumptions of the old GrReplacements object. This is fixed by switching to a SkTDynamicHash-based back-end. Sub-picture-layers also require that the replacement drawing occur for the sub-pictures too. The ReplaceDraw object is added to make this happen and limit the replacement lookup to saveLayer draw commands. This is split out of (Fix sub-picture layer rendering bugs - https://codereview.chromium.org/597293002/). BUG=skia:2315 Committed: https://skia.googlesource.com/skia/+/68cd2aa797f707a9847f8eba0758787cafd43e43

Patch Set 1 #

Patch Set 2 : Updated #

Total comments: 4

Patch Set 3 : Update to ToT #

Patch Set 4 : Address code review comments #

Patch Set 5 : Re-add missing header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -113 lines) Patch
M include/core/SkPicture.h View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M src/gpu/GrLayerHoister.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M src/gpu/GrRecordReplaceDraw.h View 1 4 chunks +58 lines, -19 lines 0 comments Download
M src/gpu/GrRecordReplaceDraw.cpp View 1 2 3 4 2 chunks +134 lines, -84 lines 0 comments Download
M tests/RecordReplaceDrawTest.cpp View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
robertphillips
6 years, 2 months ago (2014-09-30 16:45:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607763008/20001
6 years, 2 months ago (2014-09-30 17:47:59 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 2 months ago (2014-09-30 17:48:00 UTC) #6
commit-bot: I haz the power
Presubmit check for 607763008-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 2 months ago (2014-09-30 17:48:04 UTC) #8
robertphillips
ping
6 years, 2 months ago (2014-10-01 12:00:10 UTC) #9
bsalomon
lgtm
6 years, 2 months ago (2014-10-01 13:20:28 UTC) #10
egdaniel
Nits https://codereview.chromium.org/607763008/diff/20001/src/gpu/GrRecordReplaceDraw.cpp File src/gpu/GrRecordReplaceDraw.cpp (right): https://codereview.chromium.org/607763008/diff/20001/src/gpu/GrRecordReplaceDraw.cpp#newcode12 src/gpu/GrRecordReplaceDraw.cpp:12: #include "SkCanvasPriv.h" Alphabetize https://codereview.chromium.org/607763008/diff/20001/src/gpu/GrRecordReplaceDraw.cpp#newcode34 src/gpu/GrRecordReplaceDraw.cpp:34: GrReplacements::lookupByStart(uint32_t pictureID, size_t ...
6 years, 2 months ago (2014-10-01 13:28:12 UTC) #11
robertphillips
https://codereview.chromium.org/607763008/diff/20001/src/gpu/GrRecordReplaceDraw.cpp File src/gpu/GrRecordReplaceDraw.cpp (right): https://codereview.chromium.org/607763008/diff/20001/src/gpu/GrRecordReplaceDraw.cpp#newcode12 src/gpu/GrRecordReplaceDraw.cpp:12: #include "SkCanvasPriv.h" On 2014/10/01 13:28:12, egdaniel wrote: > Alphabetize ...
6 years, 2 months ago (2014-10-01 16:04:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607763008/50001
6 years, 2 months ago (2014-10-01 16:05:41 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot/builds/9)
6 years, 2 months ago (2014-10-01 16:07:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607763008/70001
6 years, 2 months ago (2014-10-01 16:12:53 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-10-01 16:24:09 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as 68cd2aa797f707a9847f8eba0758787cafd43e43

Powered by Google App Engine
This is Rietveld 408576698