Home
last modified time | relevance | path

Searched refs:fPhase (Results 1 – 25 of 38) sorted by relevance

12

/external/skia/src/core/
DSkGlyphBuffer.h179 SkASSERT(fPhase == kInput); in input()
180 SkDEBUGCODE(fPhase = kProcess); in input()
187 SkASSERT(fPhase == kProcess); in push_back()
197 SkASSERT(fPhase == kProcess); in push_back()
206 SkASSERT(fPhase == kProcess); in drawable()
207 SkDEBUGCODE(fPhase = kDraw); in drawable()
212 SkASSERT(fPhase == kProcess || fPhase == kDraw); in drawableIsEmpty()
238 } fPhase{kReset};
DSkGlyphBuffer.cpp40 SkDEBUGCODE(fPhase = kInput); in startSource()
68 SkDEBUGCODE(fPhase = kInput); in startBitmapDevice()
98 SkDEBUGCODE(fPhase = kInput); in startGPUDevice()
102 SkASSERT(fPhase == kInput); in dumpInput()
113 SkDEBUGCODE(fPhase = kReset); in reset()
/external/skia/samplecode/
DSamplePathEffects.cpp73 SkScalar fPhase; member in PathEffectView
76 PathEffectView() : fPhase(0) { in PathEffectView()
118 paint.setPathEffect(make_pe(2, fPhase)); in onDrawContent()
124 paint.setPathEffect(make_pe(3, fPhase)); in onDrawContent()
130 paint.setPathEffect(make_warp_pe(fPhase)); in onDrawContent()
135 fPhase = TimeUtils::Scaled(1e-9 * nanos, 40); in onAnimate()
/external/skqp/samplecode/
DSamplePathEffects.cpp73 SkScalar fPhase; member in PathEffectView
76 PathEffectView() : fPhase(0) { in PathEffectView()
125 paint.setPathEffect(make_pe(2, fPhase)); in onDrawContent()
131 paint.setPathEffect(make_pe(3, fPhase)); in onDrawContent()
137 paint.setPathEffect(make_warp_pe(fPhase)); in onDrawContent()
142 fPhase = timer.scaled(40); in onAnimate()
/external/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp52 SG_ATTRIBUTE(Phase , SkScalar, fPhase )
89 if (fPhase) { in onRevalidate()
98 * std::fmod(fPhase * (1/360.0f), 1); in onRevalidate()
159 fPhase = 0; member in skottie::internal::__anon697892110111::TileRenderNode
197 .bind( kPhase_Index, fPhase ) in MotionTileAdapter()
210 tiler->setPhase(fPhase); in onSync()
221 fPhase = 0, member in skottie::internal::__anon697892110111::MotionTileAdapter
/external/skia/src/gpu/
DGrStyle.h129 return fDashInfo.fPhase; in dashPhase()
194 fPhase = that.fPhase;
205 SkScalar fPhase{0};
DGrStyle.cpp119 fDashInfo.fPhase = info.fPhase; in initPathEffect()
137 SkScalar phase = fDashInfo.fPhase; in applyPathEffect()
DGrTestUtils.cpp292 &fInitialDashIndex, &fIntervalLength, &fPhase); in TestDashPathEffect()
307 info->fPhase = fPhase; in onAsADash()
/external/skqp/src/gpu/
DGrStyle.h128 return fDashInfo.fPhase; in dashPhase()
193 fPhase = that.fPhase;
204 SkScalar fPhase; member
DGrStyle.cpp119 fDashInfo.fPhase = info.fPhase; in initPathEffect()
137 SkScalar phase = fDashInfo.fPhase; in applyPathEffect()
/external/skia/tools/trace/
DChromeTracingTracer.cpp33 char fPhase; member
108 traceEvent->fPhase = phase; in addTraceEvent()
201 if (TRACE_EVENT_PHASE_CREATE_OBJECT == traceEvent->fPhase) { in trace_event_to_json()
204 } else if (TRACE_EVENT_PHASE_DELETE_OBJECT == traceEvent->fPhase) { in trace_event_to_json()
211 char phaseString[2] = {traceEvent->fPhase, 0}; in trace_event_to_json()
238 if (TRACE_EVENT_PHASE_SNAPSHOT_OBJECT == traceEvent->fPhase && in trace_event_to_json()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp33 char fPhase; member
114 traceEvent->fPhase = phase; in addTraceEvent()
218 if (TRACE_EVENT_PHASE_CREATE_OBJECT == traceEvent->fPhase) { in trace_event_to_json()
221 } else if (TRACE_EVENT_PHASE_DELETE_OBJECT == traceEvent->fPhase) { in trace_event_to_json()
228 char phaseString[2] = { traceEvent->fPhase, 0 }; in trace_event_to_json()
255 if (TRACE_EVENT_PHASE_SNAPSHOT_OBJECT == traceEvent->fPhase && in trace_event_to_json()
/external/skqp/include/core/
DSkPathEffect.h134 DashInfo() : fIntervals(nullptr), fCount(0), fPhase(0) {} in DashInfo()
136 : fIntervals(intervals), fCount(count), fPhase(phase) {} in DashInfo()
141 SkScalar fPhase; //!< Offset into the dashed interval pattern member
/external/skia/include/core/
DSkPathEffect.h128 DashInfo() : fIntervals(nullptr), fCount(0), fPhase(0) {} in DashInfo()
130 : fIntervals(intervals), fCount(count), fPhase(phase) {} in DashInfo()
135 SkScalar fPhase; //!< Offset into the dashed interval pattern member
/external/skqp/src/gpu/ops/
DGrDashOp.cpp206 SkScalar fPhase; member
241 geo.fPhase); in dumpInfo()
306 fPhase = geo.fPhase; in DashDraw()
310 SkScalar fPhase; member
397 if (draw.fPhase > 0 && draw.fPhase < draw.fIntervals[0]) { in onPrepareDraws()
401 startPts[1].fX = SkMinScalar(startPts[0].fX + draw.fIntervals[0] - draw.fPhase, in onPrepareDraws()
407 startAdj = draw.fIntervals[0] + draw.fIntervals[1] - draw.fPhase; in onPrepareDraws()
413 startAdj += calc_start_adjustment(draw.fIntervals, draw.fPhase); in onPrepareDraws()
416 draw.fPhase = 0; in onPrepareDraws()
419 SkScalar endAdj = calc_end_adjustment(draw.fIntervals, draw.fPtsRot, draw.fPhase, in onPrepareDraws()
[all …]
/external/skia/src/gpu/ops/
DGrDashOp.cpp219 SkScalar fPhase; member
299 fPhase = geo.fPhase; in DashDraw()
303 SkScalar fPhase; member
423 if (draw.fPhase > 0 && draw.fPhase < draw.fIntervals[0]) { in onPrepareDraws()
427 startPts[1].fX = std::min(startPts[0].fX + draw.fIntervals[0] - draw.fPhase, in onPrepareDraws()
433 startAdj = draw.fIntervals[0] + draw.fIntervals[1] - draw.fPhase; in onPrepareDraws()
439 startAdj += calc_start_adjustment(draw.fIntervals, draw.fPhase); in onPrepareDraws()
442 draw.fPhase = 0; in onPrepareDraws()
445 SkScalar endAdj = calc_end_adjustment(draw.fIntervals, draw.fPtsRot, draw.fPhase, in onPrepareDraws()
492 draw.fPhase = 0; in onPrepareDraws()
[all …]
/external/skia/src/effects/
DSkDashPathEffect.cpp20 : fPhase(0) in SkDashImpl()
35 &fInitialDashLength, &fInitialDashIndex, &fIntervalLength, &fPhase); in SkDashImpl()
365 info->fPhase = fPhase; in onAsADash()
371 buffer.writeScalar(fPhase); in flatten()
DSkDashImpl.h38 SkScalar fPhase; variable
/external/skqp/src/effects/
DSkDashPathEffect.cpp20 : fPhase(0) in SkDashImpl()
35 &fInitialDashLength, &fInitialDashIndex, &fIntervalLength, &fPhase); in SkDashImpl()
365 info->fPhase = fPhase; in onAsADash()
371 buffer.writeScalar(fPhase); in flatten()
DSkDashImpl.h32 SkScalar fPhase; variable
/external/skqp/tests/
DAsADashTest.cpp45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/external/skia/tests/
DAsADashTest.cpp45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/external/skia/modules/sksg/include/
DSkSGGeometryEffect.h109 SG_ATTRIBUTE(Phase, float , fPhase ) in SG_ATTRIBUTE()
117 float fPhase = 0; variable
/external/skqp/src/pathops/
DSkPathOpsTypes.h147 return fPhase; in phase()
170 SkASSERT(fPhase != phase); in setPhase()
171 fPhase = phase; in setPhase()
190 SkOpPhase fPhase; variable
/external/skia/src/pathops/
DSkPathOpsTypes.h147 return fPhase; in phase()
170 SkASSERT(fPhase != phase); in setPhase()
171 fPhase = phase; in setPhase()
190 SkOpPhase fPhase; variable

12