Home
last modified time | relevance | path

Searched refs:layerBounds (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/tools/debugger/
DDebugLayerManager.cpp45 const auto& layerBounds = picture->cullRect().roundOut(); in storeSkPicture() local
46 auto debugCanvas = std::make_unique<DebugCanvas>(layerBounds); in storeSkPicture()
58 frame == 0 || dirty==layerBounds, // fullRedraw in storeSkPicture()
62 {layerBounds.width(), layerBounds.height()}, // layerBounds in storeSkPicture()
103 auto surface = SkSurface::MakeRaster(SkImageInfo::Make(drawEvent.layerBounds, in getLayerAsImage()
120 evt->layerBounds.width(), evt->layerBounds.height() in event()
148 evt->layerBounds.width(), evt->layerBounds.height() in summarizeLayers()
DDebugLayerManager.h148 SkISize layerBounds; member
/third_party/flutter/skia/docs/examples/
DCanvas_destructor.cpp14 SkRect layerBounds = SkRect::MakeXYWH(32, 32, 192, 192); in draw() local
15 offscreen.saveLayerAlpha(&layerBounds, 128); in draw()
DCanvas_accessTopLayerPixels_b.cpp10 SkRect layerBounds = SkRect::MakeXYWH(32, 32, 192, 192); in draw() local
11 canvas->saveLayerAlpha(&layerBounds, 128); in draw()
/third_party/skia/docs/examples/
DCanvas_destructor.cpp14 SkRect layerBounds = SkRect::MakeXYWH(32, 32, 192, 192); in draw() local
15 offscreen.saveLayerAlpha(&layerBounds, 128); in draw()
DCanvas_accessTopLayerPixels_b.cpp10 SkRect layerBounds = SkRect::MakeXYWH(32, 32, 192, 192); in draw() local
11 canvas->saveLayerAlpha(&layerBounds, 128); in draw()
/third_party/flutter/skia/gm/
Dmatrixconvolution.cpp80 const SkRect layerBounds = SkRect::MakeIWH(fBitmap.width(), fBitmap.height()); in draw() local
81 canvas->clipRect(layerBounds); in draw()
85 canvas->saveLayer(layerBounds, &paint); in draw()
/third_party/skia/gm/
Dmatrixconvolution.cpp100 const SkRect layerBounds = SkRect::Make(fImage->bounds()); in draw() local
101 canvas->clipRect(layerBounds); in draw()
105 canvas->saveLayer(layerBounds, &paint); in draw()
/third_party/skia/src/core/
DSkCanvas.cpp761 skif::LayerSpace<SkIRect> layerBounds; in get_layer_mapping_and_bounds() local
763 layerBounds = as_IFB(filter)->getInputBounds(mapping, targetOutput, contentBounds); in get_layer_mapping_and_bounds()
766 if (layerBounds.width() > maxLayerDim || layerBounds.height() > maxLayerDim) { in get_layer_mapping_and_bounds()
774 layerBounds = mapping.deviceToLayer(targetOutput); in get_layer_mapping_and_bounds()
779 if (!layerBounds.intersect(knownBounds)) { in get_layer_mapping_and_bounds()
785 if (layerBounds.width() > maxLayerDim || layerBounds.height() > maxLayerDim) { in get_layer_mapping_and_bounds()
787 SkIRect::MakeWH(std::min(layerBounds.width(), maxLayerDim), in get_layer_mapping_and_bounds()
788 std::min(layerBounds.height(), maxLayerDim))); in get_layer_mapping_and_bounds()
789 SkMatrix adjust = SkMatrix::MakeRectToRect(SkRect::Make(SkIRect(layerBounds)), in get_layer_mapping_and_bounds()
795 layerBounds = newLayerBounds; in get_layer_mapping_and_bounds()
[all …]
DSkImageFilterTypes.cpp149 if (!fImage || !tightBounds.intersect(this->layerBounds())) { in resolveToBounds()
DSkImageFilterTypes.h530 LayerSpace<SkIRect> layerBounds() const { in layerBounds() function
/third_party/flutter/skia/tests/
DCanvasStateTest.cpp231 SkRect layerBounds = SkRect::Make(layerRect); in DEF_TEST() local
232 canvas.saveLayer(SkCanvas::SaveLayerRec(&layerBounds, &paint, flags[j])); in DEF_TEST()
DRecordDrawTest.cpp222 SkRect layerBounds = SkRect::MakeLTRB(10, 10, 40, 40);
223 recorder.saveLayer(&layerBounds, &p);
DImageFilterTest.cpp687 const SkRect layerBounds = SkRect::MakeIWH(width, height); in DEF_TEST() local
688 tiledCanvas.saveLayer(&layerBounds, &combinedPaint); in DEF_TEST()
/third_party/skia/tests/
DCanvasStateTest.cpp250 SkRect layerBounds = SkRect::Make(layerRect); in DEF_TEST() local
251 canvas->saveLayer(SkCanvas::SaveLayerRec(&layerBounds, &paint)); in DEF_TEST()
DRecordDrawTest.cpp257 SkRect layerBounds = SkRect::MakeLTRB(10, 10, 40, 40);
258 recorder.saveLayer(&layerBounds, &p);
DImageFilterTest.cpp797 const SkRect layerBounds = SkRect::MakeIWH(width, height); in DEF_TEST() local
798 tiledCanvas.saveLayer(&layerBounds, &combinedPaint); in DEF_TEST()