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

Issue 399593007: Let blitters be notified when they're done being used (Closed)

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

Description

Let blitters be notified when they're done being used Committed: https://skia.googlesource.com/skia/+/75f88512a1b74ebb1bbb4f0046e43f1a5a234320

Patch Set 1 #

Patch Set 2 : Allocate memory from blitter. #

Total comments: 2

Patch Set 3 : Assert if blitter mem allocation is called twice #

Total comments: 2

Patch Set 4 : Use SkAutoMalloc #

Total comments: 2

Patch Set 5 : Remove constructor definition. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M src/core/SkBlitter.h View 1 2 3 4 4 chunks +22 lines, -0 lines 0 comments Download
M src/core/SkScan_AntiPath.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
krajcevski
6 years, 5 months ago (2014-07-18 18:43:20 UTC) #1
reed1
Seems hard to guarantee that we always call this (and don't ever call it twice). ...
6 years, 5 months ago (2014-07-18 19:59:46 UTC) #2
krajcevski
On 2014/07/18 19:59:46, reed1 wrote: > Seems hard to guarantee that we always call this ...
6 years, 5 months ago (2014-07-18 21:32:47 UTC) #3
krajcevski
On 2014/07/18 21:32:47, krajcevski wrote: > On 2014/07/18 19:59:46, reed1 wrote: > > Seems hard ...
6 years, 5 months ago (2014-07-18 21:34:01 UTC) #4
reed1
I'm fine with the idea, just want to be sure we don't make our code ...
6 years, 5 months ago (2014-07-21 13:15:01 UTC) #5
reed1
On 2014/07/18 21:32:47, krajcevski wrote: > On 2014/07/18 19:59:46, reed1 wrote: > > Seems hard ...
6 years, 5 months ago (2014-07-21 13:16:10 UTC) #6
reed1
6 years, 5 months ago (2014-07-21 13:16:18 UTC) #7
krajcevski
Sure, did you mean something like this?
6 years, 5 months ago (2014-07-21 14:46:22 UTC) #8
reed1
lgtm -- robert, does this look good? https://codereview.chromium.org/399593007/diff/20001/src/core/SkBlitter.cpp File src/core/SkBlitter.cpp (right): https://codereview.chromium.org/399593007/diff/20001/src/core/SkBlitter.cpp#newcode202 src/core/SkBlitter.cpp:202: if (NULL ...
6 years, 5 months ago (2014-07-21 14:51:13 UTC) #9
krajcevski
https://codereview.chromium.org/399593007/diff/20001/src/core/SkBlitter.cpp File src/core/SkBlitter.cpp (right): https://codereview.chromium.org/399593007/diff/20001/src/core/SkBlitter.cpp#newcode202 src/core/SkBlitter.cpp:202: if (NULL != fBlitMemory) { On 2014/07/21 14:51:13, reed1 ...
6 years, 5 months ago (2014-07-21 15:04:41 UTC) #10
robertphillips
https://codereview.chromium.org/399593007/diff/40001/src/core/SkBlitter.h File src/core/SkBlitter.h (right): https://codereview.chromium.org/399593007/diff/40001/src/core/SkBlitter.h#newcode111 src/core/SkBlitter.h:111: What do you think about using SkAutoMalloc for this?
6 years, 5 months ago (2014-07-21 15:14:59 UTC) #11
krajcevski
https://codereview.chromium.org/399593007/diff/40001/src/core/SkBlitter.h File src/core/SkBlitter.h (right): https://codereview.chromium.org/399593007/diff/40001/src/core/SkBlitter.h#newcode111 src/core/SkBlitter.h:111: On 2014/07/21 15:14:59, robertphillips wrote: > What do you ...
6 years, 5 months ago (2014-07-21 15:47:41 UTC) #12
robertphillips
lgtm https://codereview.chromium.org/399593007/diff/60001/src/core/SkBlitter.h File src/core/SkBlitter.h (right): https://codereview.chromium.org/399593007/diff/60001/src/core/SkBlitter.h#newcode27 src/core/SkBlitter.h:27: public: I don't think you need the 'fBlitMemory(0)' ...
6 years, 5 months ago (2014-07-21 16:07:19 UTC) #13
krajcevski
https://codereview.chromium.org/399593007/diff/60001/src/core/SkBlitter.h File src/core/SkBlitter.h (right): https://codereview.chromium.org/399593007/diff/60001/src/core/SkBlitter.h#newcode27 src/core/SkBlitter.h:27: public: On 2014/07/21 16:07:19, robertphillips wrote: > I don't ...
6 years, 5 months ago (2014-07-21 16:42:09 UTC) #14
krajcevski
6 years, 5 months ago (2014-07-21 16:42:09 UTC) #15
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 5 months ago (2014-07-21 16:42:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/399593007/80001
6 years, 5 months ago (2014-07-21 16:42:52 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 16:54:27 UTC) #18
Message was sent while issue was closed.
Change committed as 75f88512a1b74ebb1bbb4f0046e43f1a5a234320

Powered by Google App Engine
This is Rietveld 408576698