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

Issue 491313003: SkMultiPictureDraw API (Closed)

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

Description

SkMultiPictureDraw API This CL adds a new API to optimize across multiple SkPicture draw calls. Note that multiple pictures rendered at once (i.e., picture piles) should be flattened into a single new picture that includes the required clipping on the different layers. Committed: https://skia.googlesource.com/skia/+/7eacd77ce63abec6c5a0e7be9bf9f40ea4145d11

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplified SkMultiPictureDraw API #

Patch Set 3 : Fixed overlength lines #

Total comments: 7

Patch Set 4 : Address code review issues #

Patch Set 5 : Add missing SK_API #

Patch Set 6 : fix clang complaint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -0 lines) Patch
A gm/multipicturedraw.cpp View 1 2 3 4 5 1 chunk +369 lines, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A include/core/SkMultiPictureDraw.h View 1 2 3 4 1 chunk +68 lines, -0 lines 0 comments Download
A src/core/SkMultiPictureDraw.cpp View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
robertphillips
6 years, 4 months ago (2014-08-21 14:44:21 UTC) #1
bsalomon
https://codereview.chromium.org/491313003/diff/1/include/core/SkMultiPictureDraw.h File include/core/SkMultiPictureDraw.h (right): https://codereview.chromium.org/491313003/diff/1/include/core/SkMultiPictureDraw.h#newcode36 include/core/SkMultiPictureDraw.h:36: void add(const SkPicture* picture, Do we really need this? ...
6 years, 4 months ago (2014-08-21 14:49:32 UTC) #2
robertphillips
PTAL
6 years, 4 months ago (2014-08-21 17:14:32 UTC) #3
reed1
api lgtm w/ nit about arg https://codereview.chromium.org/491313003/diff/40001/include/core/SkMultiPictureDraw.h File include/core/SkMultiPictureDraw.h (right): https://codereview.chromium.org/491313003/diff/40001/include/core/SkMultiPictureDraw.h#newcode26 include/core/SkMultiPictureDraw.h:26: SkMultiPictureDraw(int sizeHint = ...
6 years, 4 months ago (2014-08-21 17:58:01 UTC) #4
bsalomon
https://codereview.chromium.org/491313003/diff/40001/include/core/SkMultiPictureDraw.h File include/core/SkMultiPictureDraw.h (right): https://codereview.chromium.org/491313003/diff/40001/include/core/SkMultiPictureDraw.h#newcode26 include/core/SkMultiPictureDraw.h:26: SkMultiPictureDraw(int sizeHint = 0); wonder if we should call ...
6 years, 4 months ago (2014-08-21 17:58:40 UTC) #5
robertphillips
https://codereview.chromium.org/491313003/diff/40001/include/core/SkMultiPictureDraw.h File include/core/SkMultiPictureDraw.h (right): https://codereview.chromium.org/491313003/diff/40001/include/core/SkMultiPictureDraw.h#newcode26 include/core/SkMultiPictureDraw.h:26: SkMultiPictureDraw(int sizeHint = 0); On 2014/08/21 17:58:01, reed1 wrote: ...
6 years, 4 months ago (2014-08-21 18:21:35 UTC) #6
bsalomon
lgtm
6 years, 4 months ago (2014-08-21 18:23:47 UTC) #7
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 4 months ago (2014-08-21 18:24:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/491313003/80001
6 years, 4 months ago (2014-08-21 18:25:34 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-21 18:31:59 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 18:35:28 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/1301)
6 years, 4 months ago (2014-08-21 18:35:29 UTC) #12
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 4 months ago (2014-08-21 19:13:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/491313003/2
6 years, 4 months ago (2014-08-21 19:13:40 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 20:12:47 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 (2) as 7eacd77ce63abec6c5a0e7be9bf9f40ea4145d11

Powered by Google App Engine
This is Rietveld 408576698