125daa4d1a
- Collapsed the per-particle data into a single struct, and use that to communicate with drawables, too. Let the drawables manage allocation of xforms, colors, etc. Helpful for non-atlas drawables, and just to keep the effect code simpler. - Having all of the params in a single struct allows us to move the remaining animated behaviors into affectors (color/frame). - Added SkColorCurve, which works like SkCurve for SkColor4f. Use that to create a color affector (rather than simple start/end colors in the effect params). - Also put the stable random in SkParticleState. This is going to be necessary if/when we change affectors to operate on all particles (rather than one at a time). Still need to move t value into the particle struct (or eval it from the lifetime params on demand). Change-Id: Icf39116acbfd5d6e8eb91e9affbd8898d106211d Reviewed-on: https://skia-review.googlesource.com/c/193473 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
lua | ||
nima | ||
particles | ||
skottie | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README |
The resources directory includes some third party content used by Skia. Licenses for that code are included in this file. Openclipart Openclipart uses the Creative Commons Zero 1.0 Public Domain License every time an artist uploads a piece of clipart to Openclipart to make it clear the artist is releasing the creative work for anyone to use for any reason, even commercially. This act of "sharing" is the foundation Openclipart is based upon. More details on the license can be found at https://creativecommons.org/publicdomain/zero/1.0/. LGPL or compatible (as implied by inclusion in KDE SVN) http://websvn.kde.org/trunk/tests/ksvgtests/custom/cowboy.svg