skia2/experimental
Florin Malita 4aa4441186 Initial scene graph (SkSG)
Sketching a thin (as in close-to-skia-semantics) scene graph API, focused on
external animation, inval tracking and minimal repaint.

Only a few concrete classes/features so far:

* Rect/Color/Transform/Group
* basic inval tracking
* a trivial animated sample with inval visualization

Pretty much everything (especially naming) is volatile, so treat accordingly.

The interesting bits to review are likely in Node.{h,cpp} for inval and
SampleSGInval.cpp for usage.

Initial class hierarchy:

  * Node: invalidation/ancestors tracking
  |
   -- * RenderNode: onRender(SkCanvas)
  |   |
  |    -- * Draw (concrete): rendering a [geometry, paint] tuple
  |   |
  |    -- * Group (concrete): grouping multiple RenderNodes
  |   |
  |    -- * EffectNode: single-descendant effect wrapper
  |       |
  |        -- * Transform (concrete): transform effect
  |
   -- * PaintNode: onMakePaint()
  |   |
  |    -- * Color (concrete): SkColor paint wrapper
  |
   -- * GeometryNode: onComputeBounds(), onDraw(SkCanvas, SkPaint)
      |
       -- * Rect (concrete): SkRect wrapper

TBR=

Change-Id: Iacf9b773c181a7582ecd31ee968562f179d1aa1b
Reviewed-on: https://skia-review.googlesource.com/85502
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2017-12-21 20:56:32 +00:00
..
c-api-example remove more old cmake files 2016-11-30 20:37:45 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation experimental/tools/gerrit-change-id-to-number 2017-12-18 17:21:42 +00:00
GLFWTest Update SkSurface MakeFromBackend* factories to take an SkColorType. 2017-12-19 18:41:36 +00:00
go-demo Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
go-skia Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
Networking Remove a huge pile of views code 2017-11-22 18:59:44 +00:00
sksg Initial scene graph (SkSG) 2017-12-21 20:56:32 +00:00
svg/model [SVGDom] Add 'stroke-dashoffset' support 2017-10-13 22:53:32 +00:00
tools experimental/tools/gerrit-change-id-to-number 2017-12-18 17:21:42 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00