• Home
  • Raw
  • Download

Lines Matching refs:SkParticles

334     void* args[SkParticles::kNumChannels  in runParticleScript()
339 for (int i = 0; i < SkParticles::kNumChannels; ++i) { in runParticleScript()
385 fParticles.fData[SkParticles::kAge][i] += in advanceTime()
386 fParticles.fData[SkParticles::kLifetime][i] * deltaTime; in advanceTime()
387 if (fParticles.fData[SkParticles::kAge][i] > 1.0f) { in advanceTime()
389 for (int j = 0; j < SkParticles::kNumChannels; ++j) { in advanceTime()
423 fParticles.fData[SkParticles::kAge ][fCount] = 0.0f; in advanceTime()
424 fParticles.fData[SkParticles::kLifetime ][fCount] = 0.0f; in advanceTime()
425 fParticles.fData[SkParticles::kPositionX ][fCount] = fState.fPosition.fX; in advanceTime()
426 fParticles.fData[SkParticles::kPositionY ][fCount] = fState.fPosition.fY; in advanceTime()
427 fParticles.fData[SkParticles::kHeadingX ][fCount] = fState.fHeading.fX; in advanceTime()
428 fParticles.fData[SkParticles::kHeadingY ][fCount] = fState.fHeading.fY; in advanceTime()
429 fParticles.fData[SkParticles::kScale ][fCount] = fState.fScale; in advanceTime()
430 fParticles.fData[SkParticles::kVelocityX ][fCount] = fState.fVelocity.fX; in advanceTime()
431 fParticles.fData[SkParticles::kVelocityY ][fCount] = fState.fVelocity.fY; in advanceTime()
432 fParticles.fData[SkParticles::kVelocityAngular][fCount] = fState.fSpin; in advanceTime()
433 fParticles.fData[SkParticles::kColorR ][fCount] = fState.fColor.fR; in advanceTime()
434 fParticles.fData[SkParticles::kColorG ][fCount] = fState.fColor.fG; in advanceTime()
435 fParticles.fData[SkParticles::kColorB ][fCount] = fState.fColor.fB; in advanceTime()
436 fParticles.fData[SkParticles::kColorA ][fCount] = fState.fColor.fA; in advanceTime()
437 fParticles.fData[SkParticles::kSpriteFrame ][fCount] = fState.fFrame; in advanceTime()
438 fParticles.fData[SkParticles::kRandom ][fCount] = fState.fRandom; in advanceTime()
448 fParticles.fData[SkParticles::kLifetime][i] = in advanceTime()
449 sk_ieee_float_divide(1.0f, fParticles.fData[SkParticles::kLifetime][i]); in advanceTime()
450 fStableRandoms[i] = fParticles.fData[SkParticles::kRandom][i]; in advanceTime()
456 fParticles.fData[SkParticles::kRandom][i] = fStableRandoms[i]; in advanceTime()
464 fParticles.fData[SkParticles::kPositionX][i] += in advanceTime()
465 fParticles.fData[SkParticles::kVelocityX][i] * deltaTime; in advanceTime()
466 fParticles.fData[SkParticles::kPositionY][i] += in advanceTime()
467 fParticles.fData[SkParticles::kVelocityY][i] * deltaTime; in advanceTime()
469 float spin = fParticles.fData[SkParticles::kVelocityAngular][i]; in advanceTime()
472 float oldHeadingX = fParticles.fData[SkParticles::kHeadingX][i], in advanceTime()
473 oldHeadingY = fParticles.fData[SkParticles::kHeadingY][i]; in advanceTime()
474 fParticles.fData[SkParticles::kHeadingX][i] = oldHeadingX * c - oldHeadingY * s; in advanceTime()
475 fParticles.fData[SkParticles::kHeadingY][i] = oldHeadingX * s + oldHeadingY * c; in advanceTime()
493 for (int i = 0; i < SkParticles::kNumChannels; ++i) { in setCapacity()