Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/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()
/third_party/flutter/skia/samplecode/
DSamplePathEffects.cpp73 SkScalar fPhase; member in PathEffectView
76 PathEffectView() : fPhase(0) { in PathEffectView()
119 paint.setPathEffect(make_pe(2, fPhase)); in onDrawContent()
125 paint.setPathEffect(make_pe(3, fPhase)); in onDrawContent()
131 paint.setPathEffect(make_warp_pe(fPhase)); in onDrawContent()
136 fPhase = TimeUtils::Scaled(1e-9 * nanos, 40); in onAnimate()
/third_party/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp52 SG_ATTRIBUTE(Phase , SkScalar, fPhase )
89 if (fPhase && layer_shader && tile.isFinite()) { in onRevalidate()
98 * std::fmod(fPhase * (1/360.0f), 1); in onRevalidate()
164 fPhase = 0; member in skottie::internal::__anon04d54a7b0111::TileRenderNode
202 .bind( kPhase_Index, fPhase ) in MotionTileAdapter()
215 tiler->setPhase(fPhase); in onSync()
226 fPhase = 0, member in skottie::internal::__anon04d54a7b0111::MotionTileAdapter
/third_party/skia/include/core/
DSkPathEffect.h59 DashInfo() : fIntervals(nullptr), fCount(0), fPhase(0) {} in DashInfo()
61 : fIntervals(intervals), fCount(count), fPhase(phase) {} in DashInfo()
66 SkScalar fPhase; //!< Offset into the dashed interval pattern member
/third_party/flutter/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()
/third_party/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()
/third_party/skia/src/gpu/
DGrStyle.h129 return fDashInfo.fPhase; in dashPhase()
195 fPhase = that.fPhase;
206 SkScalar fPhase{0};
DGrStyle.cpp119 fDashInfo.fPhase = info.fPhase; in initPathEffect()
142 SkScalar phase = fDashInfo.fPhase; in applyPathEffect()
/third_party/flutter/skia/src/gpu/
DGrStyle.h128 return fDashInfo.fPhase; in dashPhase()
193 fPhase = that.fPhase;
204 SkScalar fPhase{0};
DGrStyle.cpp119 fDashInfo.fPhase = info.fPhase; in initPathEffect()
137 SkScalar phase = fDashInfo.fPhase; in applyPathEffect()
/third_party/flutter/skia/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
/third_party/flutter/skia/modules/skottie/src/effects/
DMotionBlurEffect.cpp42 , fPhase(phase)
59 auto t = fT + fPhase; in onRevalidate()
102 auto t = fT + fPhase; in onRender()
DMotionTileEffect.cpp50 SG_ATTRIBUTE(Phase , SkScalar, fPhase )
87 if (fPhase) { in onRevalidate()
96 * std::fmod(fPhase * (1/360.0f), 1); in onRevalidate()
157 fPhase = 0; member in skottie::internal::__anon55e107300111::TileRenderNode
/third_party/skia/src/gpu/ops/
DDashOp.cpp185 SkScalar fPhase; member
265 fPhase = geo.fPhase; in DashDraw()
269 SkScalar fPhase; member
386 if (draw.fPhase > 0 && draw.fPhase < draw.fIntervals[0]) { in onPrepareDraws()
390 startPts[1].fX = std::min(startPts[0].fX + draw.fIntervals[0] - draw.fPhase, in onPrepareDraws()
396 startAdj = draw.fIntervals[0] + draw.fIntervals[1] - draw.fPhase; in onPrepareDraws()
402 startAdj += calc_start_adjustment(draw.fIntervals, draw.fPhase); in onPrepareDraws()
405 draw.fPhase = 0; in onPrepareDraws()
408 SkScalar endAdj = calc_end_adjustment(draw.fIntervals, draw.fPtsRot, draw.fPhase, in onPrepareDraws()
455 draw.fPhase = 0; in onPrepareDraws()
[all …]
/third_party/flutter/skia/src/gpu/ops/
DGrDashOp.cpp206 SkScalar fPhase; member
241 geo.fPhase); in dumpInfo()
310 fPhase = geo.fPhase; in DashDraw()
314 SkScalar fPhase; member
401 if (draw.fPhase > 0 && draw.fPhase < draw.fIntervals[0]) { in onPrepareDraws()
405 startPts[1].fX = SkMinScalar(startPts[0].fX + draw.fIntervals[0] - draw.fPhase, in onPrepareDraws()
411 startAdj = draw.fIntervals[0] + draw.fIntervals[1] - draw.fPhase; in onPrepareDraws()
417 startAdj += calc_start_adjustment(draw.fIntervals, draw.fPhase); in onPrepareDraws()
420 draw.fPhase = 0; in onPrepareDraws()
423 SkScalar endAdj = calc_end_adjustment(draw.fIntervals, draw.fPtsRot, draw.fPhase, in onPrepareDraws()
[all …]
/third_party/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()
/third_party/flutter/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.h32 SkScalar fPhase; variable
/third_party/flutter/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()
/third_party/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()
/third_party/flutter/skia/src/pathops/
DSkPathOpsTypes.h147 return fPhase; in phase()
170 SkASSERT(fPhase != phase); in setPhase()
171 fPhase = phase; in setPhase()
190 SkOpPhase fPhase; variable
/third_party/skia/src/pathops/
DSkPathOpsTypes.h147 return fPhase; in phase()
170 SkASSERT(fPhase != phase); in setPhase()
171 fPhase = phase; in setPhase()
190 SkOpPhase fPhase; variable
/third_party/skia/modules/sksg/include/
DSkSGGeometryEffect.h109 SG_ATTRIBUTE(Phase, float , fPhase ) in SG_ATTRIBUTE()
117 float fPhase = 0; variable

12