Home
last modified time | relevance | path

Searched refs:targetOutput (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/samplecode/
DSampleFilterBounds.cpp196 skif::DeviceSpace<SkIRect> targetOutput(target); in onDrawContent() local
221 skif::LayerSpace<SkIRect> targetOutputInLayer = mapping.deviceToLayer(targetOutput); in onDrawContent()
223 mapping, targetOutput, &contentBounds); in onDrawContent()
225 mapping, targetOutput, nullptr); in onDrawContent()
242 SkIRect(targetOutput), in onDrawContent()
DSampleImageFilterDAG.cpp104 skif::DeviceSpace<SkIRect> targetOutput(fMapping.totalMatrix() in computeInputBounds() local
109 fHintedLayerBounds = as_IFB(fFilter)->getInputBounds(fMapping, targetOutput, &fContent); in computeInputBounds()
110 fUnhintedLayerBounds = as_IFB(fFilter)->getInputBounds(fMapping, targetOutput, nullptr); in computeInputBounds()
113 fUnhintedLayerBounds = fMapping.deviceToLayer(targetOutput); in computeInputBounds()
/third_party/skia/src/core/
DSkImageFilter.cpp65 skif::LayerSpace<SkIRect> targetOutput(src); in filterBounds() local
71 if (!targetOutput.intersect(outputCrop)) { in filterBounds()
77 return SkIRect(as_IFB(this)->onGetInputLayerBounds(mapping, targetOutput, content)); in filterBounds()
DSkCanvas.cpp693 const skif::DeviceSpace<SkIRect>& targetOutput) { in compute_decomposition_center() argument
695 SkRect rect = contentBounds ? SkRect(*contentBounds) : SkRect::Make(SkIRect(targetOutput)); in compute_decomposition_center()
715 const skif::DeviceSpace<SkIRect>& targetOutput, in get_layer_mapping_and_bounds() argument
731 compute_decomposition_center(dstToLocal, contentBounds, targetOutput); in get_layer_mapping_and_bounds()
757 int maxLayerDim = std::max(Sk64_pin_to_s32(2 * std::max(SkIRect(targetOutput).width64(), in get_layer_mapping_and_bounds()
758 SkIRect(targetOutput).height64())), in get_layer_mapping_and_bounds()
763 layerBounds = as_IFB(filter)->getInputBounds(mapping, targetOutput, contentBounds); in get_layer_mapping_and_bounds()
768 auto idealLayerBounds = as_IFB(filter)->getInputBounds(idealMapping, targetOutput, in get_layer_mapping_and_bounds()
774 layerBounds = mapping.deviceToLayer(targetOutput); in get_layer_mapping_and_bounds()
DSkDevice.cpp337 skif::LayerSpace<SkIRect> targetOutput = mapping.deviceToLayer( in drawFilteredImage() local
351 skif::Context ctx(mapping, targetOutput, cache.get(), colorType, this->imageInfo().colorSpace(), in drawFilteredImage()