Home
last modified time | relevance | path

Searched refs:fixedColor (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/core/
H A DSkLatticeIter.h34 * isFixedColor and fixedColor specify if the rectangle is filled with a fixed color.
35 * If (*isFixedColor) is true, then (*fixedColor) contains the rectangle color.
38 SkColor* fixedColor = nullptr);
42 SkColor* fixedColor = nullptr) { in next()
44 if (this->next(&isrcR, dst, isFixedColor, fixedColor)) { in next()
H A DSkLatticeIter.cpp256 bool SkLatticeIter::next(SkIRect* src, SkRect* dst, bool* isFixedColor, SkColor* fixedColor) { in next() argument
274 return this->next(src, dst, isFixedColor, fixedColor); in next()
279 if (isFixedColor && fixedColor) { in next()
283 *fixedColor = fColors[currRect]; in next()
/third_party/skia/gm/
H A Dlattice.cpp159 SkColor fixedColor[3] = {SK_ColorBLACK, SK_ColorBLACK, SK_ColorBLACK}; in onDrawHelper() local
165 image->readPixels(dContext, info, &fixedColor[rectNum], 4, srcX, srcY); in onDrawHelper()
192 = fixedColor[rectNum]; in onDrawHelper()

Completed in 2 milliseconds