Home
last modified time | relevance | path

Searched refs:fMapping (Results 1 – 4 of 4) sorted by relevance

/external/skia/samplecode/
DSampleImageFilterDAG.cpp47 skif::Mapping fMapping; member
69 , fMapping(mapping) { in FilterNode()
86 skif::Mapping layerOnly = skif::Mapping(SkMatrix::I(), fMapping.layerMatrix()); in computeOutputBounds()
92 fOutputBounds = fMapping.paramToLayer(fContent).roundOut(); in computeOutputBounds()
104 skif::DeviceSpace<SkIRect> targetOutput(fMapping.totalMatrix() in computeInputBounds()
109 fHintedLayerBounds = as_IFB(fFilter)->getInputBounds(fMapping, targetOutput, &fContent); in computeInputBounds()
110 fUnhintedLayerBounds = as_IFB(fFilter)->getInputBounds(fMapping, targetOutput, nullptr); in computeInputBounds()
112 fHintedLayerBounds = fMapping.paramToLayer(fContent).roundOut(); in computeInputBounds()
113 fUnhintedLayerBounds = fMapping.deviceToLayer(targetOutput); in computeInputBounds()
148 canvas->concat(node.fMapping.deviceMatrix()); in draw_node()
[all …]
/external/skia/src/core/
DSkImageFilterTypes.h601 : fMapping(SkMatrix::I(), layerMatrix) in Context()
611 : fMapping(mapping) in Context()
627 const Mapping& mapping() const { return fMapping; } in mapping()
629 const SkMatrix& ctm() const { return fMapping.layerMatrix(); } in ctm()
674 bool isValid() const { return fSource.image() != nullptr && fMapping.layerMatrix().isFinite(); } in isValid()
694 return Context(fMapping, desiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewDesiredOutput()
698 Mapping fMapping;
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp288 : fMapping(mapping), fMappingCount(mappingCount) {} in LinearInterpolater()
298 if (val < fMapping[0].src_val) { in map()
299 return fMapping[0].dst_val; in map()
304 if (val < fMapping[i+1].src_val) { in map()
305 return map(val, fMapping[i].src_val, fMapping[i+1].src_val, in map()
306 fMapping[i].dst_val, fMapping[i+1].dst_val); in map()
312 return fMapping[fMappingCount - 1].dst_val; in map()
315 Mapping const * fMapping; member
/external/skqp/src/ports/
DSkFontHost_mac.cpp495 : fMapping(mapping), fMappingCount(mappingCount) {} in LinearInterpolater()
505 if (val < fMapping[0].src_val) { in map()
506 return fMapping[0].dst_val; in map()
511 if (val < fMapping[i+1].src_val) { in map()
512 return map(val, fMapping[i].src_val, fMapping[i+1].src_val, in map()
513 fMapping[i].dst_val, fMapping[i+1].dst_val); in map()
519 return fMapping[fMappingCount - 1].dst_val; in map()
522 Mapping const * fMapping; member