Searched refs:SkParticles (Results 1 – 5 of 5) sorted by relevance
/external/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 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() [all …]
|
D | SkParticleDrawable.cpp | 42 DrawAtlasArrays(const SkParticles& particles, int count, SkPoint center) in DrawAtlasArrays() 47 particles.fData[SkParticles::kColorR].get(), in DrawAtlasArrays() 48 particles.fData[SkParticles::kColorG].get(), in DrawAtlasArrays() 49 particles.fData[SkParticles::kColorB].get(), in DrawAtlasArrays() 50 particles.fData[SkParticles::kColorA].get(), in DrawAtlasArrays() 54 particles.fData[SkParticles::kPositionX].get(), in DrawAtlasArrays() 55 particles.fData[SkParticles::kPositionY].get(), in DrawAtlasArrays() 58 particles.fData[SkParticles::kHeadingX].get(), in DrawAtlasArrays() 59 particles.fData[SkParticles::kHeadingY].get(), in DrawAtlasArrays() 61 float* scale = particles.fData[SkParticles::kScale].get(); in DrawAtlasArrays() [all …]
|
/external/skia/modules/particles/include/ |
D | SkParticleDrawable.h | 14 struct SkParticles; 23 virtual void draw(SkCanvas* canvas, const SkParticles& particles, int count,
|
D | SkParticleData.h | 17 struct SkParticles { struct
|
D | SkParticleEffect.h | 228 SkParticles fParticles;
|