• Adrienne Walker's avatar
    cc: Add serialization of most of PaintFlags · 813d15c1
    Adrienne Walker authored
    This adds serialization/deserialization/testing for most of the
    internals of PaintFlags.  SkValidatingSerializeFlattenable is used for
    more complex Skia objects.
    
    Still remaining to be handled are PaintShader and SkTypeface.
    Additionally, SkValidatingSerializeFlattenable ignores
    SkPictureImageFilters for security purposes and so these will have to be
    handled in some other manner in the future.
    
    This serialization is not yet called while running Chrome yet.  This is
    all for testing purposes at this point.
    
    Bug: 737629
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: Ic1787721e7518367dca0c40f7a6a438bca980701
    Reviewed-on: https://chromium-review.googlesource.com/578321Reviewed-by: default avatarVladimir Levin <vmpstr@chromium.org>
    Commit-Queue: enne <enne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#488678}
    813d15c1
paint_op_buffer_unittest.cc 73.3 KB