History log of /external/skia/gm/multipicturedraw.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
567ff2f6143ecb993dbedede402a43feb71c420a 27-Apr-2015 tfarina <tfarina@chromium.org> Cleanup: Remove unnecessary double-semicolons.

The entries were found by the following command line:

$ find . -regex ".*\.[cChH]\(pp\)?" | xargs git grep -e ';;' --and --not
-e 'for *(.*;;'

Which is a combination of http://stackoverflow.com/a/3858879 and
http://gitster.livejournal.com/27674.html

BUG=None
R=mtklein@google.com

Review URL: https://codereview.chromium.org/1088763005
/external/skia/gm/multipicturedraw.cpp
1d24b8dfe9aac9cadaf3914b8574a4ff6e9bc19d 27-Mar-2015 robertphillips <robertphillips@google.com> Add matrix constructing helpers to SkMatrix

Review URL: https://codereview.chromium.org/1034273002
/external/skia/gm/multipicturedraw.cpp
36352bf5e38f45a70ee4f4fc132a38048d38206d 26-Mar-2015 mtklein <mtklein@chromium.org> C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}

NOPRESUBMIT=true

BUG=skia:
DOCS_PREVIEW= https://skia.org/?cl=1037793002

Review URL: https://codereview.chromium.org/1037793002
/external/skia/gm/multipicturedraw.cpp
1c4029296f518a84ef90095243ba210163a1e1f9 23-Jan-2015 mtklein <mtklein@chromium.org> remove unused GM flags

Depends on https://codereview.chromium.org/873753002/

Thumbs up to CLion for refactoring this for me.

BUG=skia:

Review URL: https://codereview.chromium.org/867963004
/external/skia/gm/multipicturedraw.cpp
cf5d9c993dcbd75d4cefe2d1de25c2b9645f6957 23-Jan-2015 mtklein <mtklein@chromium.org> Spin off GM::runAsBench() from flags.

This will let us kill flags.

BUG=skia:

Review URL: https://codereview.chromium.org/873753002
/external/skia/gm/multipicturedraw.cpp
72c9faab45124e08c85f70ca38536914862d947c 09-Jan-2015 mtklein <mtklein@chromium.org> Fix up all the easy virtual ... SK_OVERRIDE cases.

This fixes every case where virtual and SK_OVERRIDE were on the same line,
which should be the bulk of cases. We'll have to manually clean up the rest
over time unless I level up in regexes.

for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end

BUG=skia:

Review URL: https://codereview.chromium.org/806653007
/external/skia/gm/multipicturedraw.cpp
81f71b6630a9b7398bf983689436cccdd8dd3ff7 11-Nov-2014 robertphillips <robertphillips@google.com> Change where layer hoisting data is gathered

This CL:
1) removes the EXPERIMENTAL_optimize on SkCanvas & SkDevice
2) moves the saveLayer gathering step to endRecording
3) Replaces GPUOptimize with SkRecordComputeLayers
4) Update bench_pictures & render_pictures to provide the new flag

#2 also necessitated moving the BBH computation (and record optimization) out of SkPicture's ctor (and into endRecording)

Review URL: https://codereview.chromium.org/718443002
/external/skia/gm/multipicturedraw.cpp
1564dde11af9f8ab1e4394af1599c5772accf710 06-Oct-2014 robertphillips <robertphillips@google.com> Fix multipicturedraw_biglayer GM

Having a layer is a prerequisite for having it be hoisted.

Review URL: https://codereview.chromium.org/632743002
/external/skia/gm/multipicturedraw.cpp
7f1ed835e90027f63fbb25d19fb71d128b13834d 03-Oct-2014 robertphillips <robertphillips@google.com> Reduce overdraw in MultiPictureDraw Sierpinski GM

As written, all the layers in the MPD Sierpinski GM are full screen. This CL bounds each layer to reduce overdraw.

This CL will cause differences in:

multipicturedraw_sierpinski_simple
multipicturedraw_sierpinski_tiled

but they are/will be suppressed in: (Don't turn on dither for saveLayers which have no paint - https://codereview.chromium.org/619363002/)

Review URL: https://codereview.chromium.org/582633003
/external/skia/gm/multipicturedraw.cpp
b1fc64b8faa17a1d7fc7140dc18906b639fbd27b 02-Oct-2014 robertphillips <robertphillips@google.com> Add a MultiPictureDraw GM to exercise layer clipping

This adds a "biglayer" variant that creates a picture with a single big layer. The tiling composition will test whether the layer hoisting code correctly caches the layers with their clipping information.

BUG=skia:2315

Review URL: https://codereview.chromium.org/617723004
/external/skia/gm/multipicturedraw.cpp
aa0c837667306babf7dc284c1b8da77127b993a1 29-Sep-2014 robertphillips <robertphillips@google.com> Make pictures in multipicturedraw GM fit in 0,0..W,H range

Having the picture contents not actually reside in the 0,0..W,H range wrecks havoc with the layer hoisting. The hoisting works correctly but since the picture don't fulfill their contract the results look incorrect.

This CL just translates the picture's contents to the right so they are within the picture bound.

R=egdaniel@google.com

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/594363003
/external/skia/gm/multipicturedraw.cpp
b5fae93d72c7b6480f83fd8a7b534cd1fdfcd49a 24-Sep-2014 piotaixr <piotaixr@chromium.org> SkCanvas::drawImage is the new way for drawing a SkImage to a Canvas

BUG=skia:2947

Committed: https://skia.googlesource.com/skia/+/432789972c1e1f8a66165c75a250dba1853efa08

R=junov@chromium.org, reed@google.com, bsalomon@google.com

Author: piotaixr@chromium.org

Review URL: https://codereview.chromium.org/583453002
/external/skia/gm/multipicturedraw.cpp
2456b7681aea8d91072186b17f8209955846f2f7 24-Sep-2014 borenet <borenet@google.com> Revert of SkCanvas::drawImage is the new way for drawing an SkImage to a Canvas (patchset #9 id:160001 of https://codereview.chromium.org/583453002/)

Reason for revert:
Broke ChromiumOS Ozone builder: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/4087/steps/compile/logs/stdio

Reverting to unblock DEPS roll.

Original issue's description:
> SkCanvas::drawImage is the new way for drawing a SkImage to a Canvas
>
> BUG=skia:2947
>
> Committed: https://skia.googlesource.com/skia/+/432789972c1e1f8a66165c75a250dba1853efa08

R=junov@chromium.org, reed@google.com, bsalomon@google.com, piotaixr@chromium.org
TBR=bsalomon@google.com, junov@chromium.org, piotaixr@chromium.org, reed@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2947

Author: borenet@google.com

Review URL: https://codereview.chromium.org/598133002
/external/skia/gm/multipicturedraw.cpp
432789972c1e1f8a66165c75a250dba1853efa08 23-Sep-2014 piotaixr <piotaixr@chromium.org> SkCanvas::drawImage is the new way for drawing a SkImage to a Canvas

BUG=skia:2947
R=junov@chromium.org, reed@google.com, bsalomon@google.com

Author: piotaixr@chromium.org

Review URL: https://codereview.chromium.org/583453002
/external/skia/gm/multipicturedraw.cpp
ab79ab5aab3d1db90d4ea2b738ecaeaf584c6103 19-Sep-2014 robertphillips <robertphillips@google.com> Fix memory leak in MultiPictureDraw GM

R=fmalita@google.com, fmalita@chromium.org

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/585033002
/external/skia/gm/multipicturedraw.cpp
3bc25e72476a8112c8a983cc7315ae6d403f930a 19-Sep-2014 robertphillips <robertphillips@google.com> Extend MultiPictureDraw GM

This new GM case is intended to exercise the matrix oriented aspects of layer caching.

R=jvanverth@google.com

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/582113004
/external/skia/gm/multipicturedraw.cpp
a8d7f0b13cd4c6d773fcf055fe17db75d260fa05 29-Aug-2014 robertphillips <robertphillips@google.com> Try out scalar picture sizes

This paves the way for removing the 'fTile' parameter from SkPictureShader (although that should be a different CL). If we like this we could also move to providing an entire cull SkRect.

R=reed@google.com, mtklein@google.com, fmalita@google.com, fmalita@chromium.org

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/513983002
/external/skia/gm/multipicturedraw.cpp
4b4faa6329b4efe6f143d8d7559b5b2844692f73 22-Aug-2014 bsalomon <bsalomon@google.com> Fix leak in multipicturedraw GMs.

R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/502493002
/external/skia/gm/multipicturedraw.cpp
892f31ab08b2220c591f0906e41eb766db4afb47 21-Aug-2014 bsalomon <bsalomon@google.com> Fix surface leak in multidraw GMs.

TBR=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/496793003
/external/skia/gm/multipicturedraw.cpp
7eacd77ce63abec6c5a0e7be9bf9f40ea4145d11 21-Aug-2014 robertphillips <robertphillips@google.com> 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.

R=bsalomon@google.com, reed@google.com

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/491313003
/external/skia/gm/multipicturedraw.cpp