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

Issue 2357273003: Do not set bounds on SkLiteRecorder

Created:
4 years, 3 months ago by msarett
Modified:
4 years, 3 months ago
Reviewers:
mtklein, mtklein_C, reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Do not set bounds on SkLiteRecorder If this can land, we demonstrate that SkLiteRecorder does not need to know anything about bounds. This allows us to refactor SkLiteDL to be contained in an Android drawable (rather than actually being an Android drawable). Under this design, we can mutate the bounds of the drawable without abusing SkLiteDL. BUG=skia:5780 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2357273003

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -17 lines) Patch
M gm/complexclip_blur_tiled.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M gm/convexpolyclip.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gm/imageblurtiled.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M gm/shapes.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 2 chunks +5 lines, -6 lines 1 comment Download
M src/core/SkLiteRecorder.cpp View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (6 generated)
msarett
4 years, 3 months ago (2016-09-21 17:27:54 UTC) #5
reed1
canvas lgtm https://codereview.chromium.org/2357273003/diff/1/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2357273003/diff/1/src/core/SkCanvas.cpp#newcode2974 src/core/SkCanvas.cpp:2974: this->onDrawPatch(cubics, colors, texCoords, xmode, paint); definitely a ...
4 years, 3 months ago (2016-09-21 17:30:30 UTC) #7
msarett
On 2016/09/21 17:30:30, reed1 wrote: > canvas lgtm > > https://codereview.chromium.org/2357273003/diff/1/src/core/SkCanvas.cpp > File src/core/SkCanvas.cpp (right): ...
4 years, 3 months ago (2016-09-21 17:46:09 UTC) #8
mtklein_C
If we want to land this, I'd like to document the list of SkCanvas methods ...
4 years, 3 months ago (2016-09-21 17:48:33 UTC) #10
mtklein_C
On 2016/09/21 at 17:46:09, msarett wrote: > On 2016/09/21 17:30:30, reed1 wrote: > > canvas ...
4 years, 3 months ago (2016-09-21 17:49:20 UTC) #11
msarett
4 years, 3 months ago (2016-09-21 17:52:12 UTC) #12
On 2016/09/21 17:49:20, mtklein_C wrote:
> On 2016/09/21 at 17:46:09, msarett wrote:
> > On 2016/09/21 17:30:30, reed1 wrote:
> > > canvas lgtm
> > > 
> > > https://codereview.chromium.org/2357273003/diff/1/src/core/SkCanvas.cpp
> > > File src/core/SkCanvas.cpp (right):
> > > 
> > >
>
https://codereview.chromium.org/2357273003/diff/1/src/core/SkCanvas.cpp#newco...
> > > src/core/SkCanvas.cpp:2974: this->onDrawPatch(cubics, colors, texCoords,
> xmode,
> > > paint);
> > > definitely a good change -- we should not quickreject before the virtual
> > 
> > Will split this out and land it...  I think the other stuff is likely not a
> good idea.
> 
> I don't see any major harm in landing the GM changes too, unless you want to
use
> them as a reminder that there are readback methods on SkCanvas.

I'll keep them as a reminder...  They can land if we end up circling back to
this strategy.

Powered by Google App Engine
This is Rietveld 408576698