skia2/include
fmalita c3b589a24e SkClipStack::Element tweaks.
(
This is intended to facilitate efficient kMatrix_SaveFlags emulation
on restore():

  * collect all clip stack elements for the current save count into a
    side clip stack
  * canvas.restore(everything)
  * replay the collected clip ops to restore the initial clip state
  => we restored the matrix but the clip state is unchanged
)

Two main changes:

  * expose the save count for SkClipStack::Element
  * expose a replay method for the same (logic relocated from
    SkCanvas::replayClips)

The SkCanvas::ClipVisitor shuffling is to enable forward decl
in SkClipStack.h (cannot fwdecl a nested class).

R=reed@google.com, robertphillips@google.com
TBR=reed@google.com

Author: fmalita@chromium.org

Review URL: https://codereview.chromium.org/269693003
2014-06-05 12:40:07 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
config Add SkBarriers to ports. 2014-05-29 18:24:54 +00:00
core SkClipStack::Element tweaks. 2014-06-05 12:40:07 -07:00
device/xps remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
effects Revert of Move Dashing filterPath to a dashing utils file (https://codereview.chromium.org/314623004/) 2014-06-04 09:59:08 -07:00
gpu Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) 2014-06-04 05:40:44 -07:00
images Remove SkImageRef and related functionality. 2014-06-04 14:38:48 -04:00
pathops Export SkPathOps.h functions for external use. 2013-07-09 19:43:35 +00:00
pdf remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
pipe Fixes for piping bitmaps with encoded data. 2013-04-30 02:32:41 +00:00
ports Port most uses of SkOnce to SkLazyPtr. 2014-06-02 08:44:27 -07:00
record add SK_API to include/record 2014-04-28 21:04:32 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
text Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) 2014-06-04 05:40:44 -07:00
views Drop executable flag from headers so that they can be packaged 2014-03-11 19:55:51 +00:00
xml Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00