Home
last modified time | relevance | path

Searched refs:dashInfo (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tools/debugger/
DSkDrawCommand.cpp929 SkPathEffect::DashInfo dashInfo; in apply_paint_patheffect() local
930 SkPathEffect::DashType dashType = pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
932 dashInfo.fIntervals = (SkScalar*) sk_malloc_throw(dashInfo.fCount * sizeof(SkScalar)); in apply_paint_patheffect()
933 pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
936 for (int32_t i = 0; i < dashInfo.fCount; i++) { in apply_paint_patheffect()
937 writer.appendFloat(dashInfo.fIntervals[i]); in apply_paint_patheffect()
940 sk_free(dashInfo.fIntervals); in apply_paint_patheffect()
941 writer.appendFloat(SKDEBUGCANVAS_ATTRIBUTE_PHASE, dashInfo.fPhase); in apply_paint_patheffect()
/external/skia/tools/debugger/
DDrawCommand.cpp859 SkPathEffect::DashInfo dashInfo; in apply_paint_patheffect() local
860 SkPathEffect::DashType dashType = pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
862 dashInfo.fIntervals = (SkScalar*)sk_malloc_throw(dashInfo.fCount * sizeof(SkScalar)); in apply_paint_patheffect()
863 pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
866 for (int32_t i = 0; i < dashInfo.fCount; i++) { in apply_paint_patheffect()
867 writer.appendFloat(dashInfo.fIntervals[i]); in apply_paint_patheffect()
870 sk_free(dashInfo.fIntervals); in apply_paint_patheffect()
871 writer.appendFloat(DEBUGCANVAS_ATTRIBUTE_PHASE, dashInfo.fPhase); in apply_paint_patheffect()