• Home
  • Raw
  • Download

Lines Matching refs:outData

122         SkiaShaderData::GradientShaderData* outData) {  in tryStoreGradient()  argument
153 computeScreenSpaceMatrix(outData->screenSpace, unitMatrix, in tryStoreGradient()
164 outData->gradientSampler = (*textureUnit)++; in tryStoreGradient()
169 outData->gradientTexture = caches.gradientCache.get( in tryStoreGradient()
171 outData->wrapST = gTileModes[gradInfo.fTileMode]; in tryStoreGradient()
173 outData->gradientSampler = 0; in tryStoreGradient()
174 outData->gradientTexture = nullptr; in tryStoreGradient()
176 outData->startColor.set(gradInfo.fColors[0]); in tryStoreGradient()
177 outData->endColor.set(gradInfo.fColors[1]); in tryStoreGradient()
202 SkiaShaderData::BitmapShaderData* outData) { in tryStoreBitmap() argument
211 outData->bitmapTexture = caches.textureCache.get(hwuiBitmap); in tryStoreBitmap()
212 if (!outData->bitmapTexture) return false; in tryStoreBitmap()
214 outData->bitmapSampler = (*textureUnit)++; in tryStoreBitmap()
216 const float width = outData->bitmapTexture->width(); in tryStoreBitmap()
217 const float height = outData->bitmapTexture->height(); in tryStoreBitmap()
219 Texture* texture = outData->bitmapTexture; in tryStoreBitmap()
237 outData->wrapS = GL_CLAMP_TO_EDGE; in tryStoreBitmap()
238 outData->wrapT = GL_CLAMP_TO_EDGE; in tryStoreBitmap()
240 outData->wrapS = gTileModes[xy[0]]; in tryStoreBitmap()
241 outData->wrapT = gTileModes[xy[1]]; in tryStoreBitmap()
244 computeScreenSpaceMatrix(outData->textureTransform, SkMatrix::I(), shader.getLocalMatrix(), in tryStoreBitmap()
246 outData->textureDimension[0] = 1.0f / width; in tryStoreBitmap()
247 outData->textureDimension[1] = 1.0f / height; in tryStoreBitmap()
287 ProgramDescription* description, SkiaShaderData* outData) { in storeCompose() argument
289 textureUnit, description, &outData->bitmapData), in storeCompose()
292 textureUnit, description, &outData->gradientData), in storeCompose()
298 SkiaShaderData* outData) { in tryStoreCompose() argument
315 transform, textureUnit, description, outData); in tryStoreCompose()
319 transform, textureUnit, description, outData); in tryStoreCompose()
327 SkiaShaderData* outData) { in store() argument
329 textureUnit, description, &outData->gradientData)) { in store()
330 outData->skiaShaderType = kGradient_SkiaShaderType; in store()
335 textureUnit, description, &outData->bitmapData)) { in store()
336 outData->skiaShaderType = kBitmap_SkiaShaderType; in store()
341 textureUnit, description, outData)) { in store()
342 outData->skiaShaderType = kCompose_SkiaShaderType; in store()
347 outData->skiaShaderType = kNone_SkiaShaderType; in store()