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

Issue 1362253002: Simplify SkLayerDrawLooper

Created:
5 years, 2 months ago by mdempsky
Modified:
5 years, 1 month ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@flat
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Simplify SkLayerDrawLooper DO NOT SUBMIT; PROOF OF CONCEPT / WIP Drop support for adding layers to the bottom, and switch from a linked list to a flat vector of Recs.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -128 lines) Patch
M include/effects/SkLayerDrawLooper.h View 4 chunks +23 lines, -24 lines 4 comments Download
M src/effects/SkLayerDrawLooper.cpp View 9 chunks +62 lines, -104 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (3 generated)
mtklein
https://codereview.chromium.org/1362253002/diff/1/include/effects/SkLayerDrawLooper.h File include/effects/SkLayerDrawLooper.h (right): https://codereview.chromium.org/1362253002/diff/1/include/effects/SkLayerDrawLooper.h#newcode15 include/effects/SkLayerDrawLooper.h:15: #include <vector> We don't use std::vector in Skia (yet?) ...
5 years, 2 months ago (2015-09-25 11:47:21 UTC) #2
mdempsky
https://codereview.chromium.org/1362253002/diff/1/include/effects/SkLayerDrawLooper.h File include/effects/SkLayerDrawLooper.h (right): https://codereview.chromium.org/1362253002/diff/1/include/effects/SkLayerDrawLooper.h#newcode15 include/effects/SkLayerDrawLooper.h:15: #include <vector> On 2015/09/25 11:47:21, mtklein wrote: > We ...
5 years, 2 months ago (2015-09-25 16:40:17 UTC) #3
mtklein
On 2015/09/25 16:40:17, mdempsky wrote: > https://codereview.chromium.org/1362253002/diff/1/include/effects/SkLayerDrawLooper.h > File include/effects/SkLayerDrawLooper.h (right): > > https://codereview.chromium.org/1362253002/diff/1/include/effects/SkLayerDrawLooper.h#newcode15 > ...
5 years, 2 months ago (2015-09-28 15:01:48 UTC) #4
mdempsky
On 2015/09/28 15:01:48, mtklein wrote: > Right, I'd specifically like to keep the existing addLayer() ...
5 years, 2 months ago (2015-10-08 22:06:09 UTC) #5
mdempsky
On 2015/10/08 22:06:09, mdempsky wrote: > I want to ask though: is there anything that ...
5 years, 1 month ago (2015-10-29 18:30:35 UTC) #6
mtklein
On 2015/10/29 at 18:30:35, mdempsky wrote: > On 2015/10/08 22:06:09, mdempsky wrote: > > I ...
5 years, 1 month ago (2015-10-29 18:56:14 UTC) #7
mdempsky
On 2015/10/29 18:56:14, mtklein wrote: > API changes between Skia and Chrome are a headache, ...
5 years, 1 month ago (2015-10-29 19:07:07 UTC) #8
mtklein
On 2015/10/29 at 19:07:07, mdempsky wrote: > On 2015/10/29 18:56:14, mtklein wrote: > > API ...
5 years, 1 month ago (2015-10-29 19:15:40 UTC) #9
mdempsky
On 2015/10/29 19:15:40, mtklein wrote: > My preference is 3. Nothing changes. But I'm okay ...
5 years, 1 month ago (2015-10-29 19:20:46 UTC) #10
mtklein
On 2015/10/29 at 19:20:46, mdempsky wrote: > On 2015/10/29 19:15:40, mtklein wrote: > > My ...
5 years, 1 month ago (2015-10-29 19:26:05 UTC) #11
mdempsky
On 2015/10/29 19:26:05, mtklein wrote: > Gotcha. So, why does the implementation change matter? Is ...
5 years, 1 month ago (2015-10-29 19:37:09 UTC) #12
mtklein
Okay, let me pass you over to Mike Reed to talk APIs.
5 years, 1 month ago (2015-10-29 19:49:11 UTC) #14
mdempsky
On 2015/10/29 19:49:11, mtklein wrote: > Okay, let me pass you over to Mike Reed ...
5 years, 1 month ago (2015-11-10 21:56:38 UTC) #15
mdempsky
On 2015/11/10 21:56:38, mdempsky wrote: > On 2015/10/29 19:49:11, mtklein wrote: > > Okay, let ...
5 years, 1 month ago (2015-11-10 21:58:14 UTC) #17
reed1
5 years, 1 month ago (2015-11-11 01:45:40 UTC) #18
I don't see much incentive to change the impl, but I'm fine if you want to
eliminate addLayer and just use addLayerOnTop, assuming you can fix all the call
sites.

Powered by Google App Engine
This is Rietveld 408576698