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()
180 outData->ditherSampler = (*textureUnit)++; in tryStoreGradient()
204 SkiaShaderData::BitmapShaderData* outData) { in tryStoreBitmap() argument
217 outData->bitmapTexture = caches.textureCache.getAndBypassAtlas(&bitmap); in tryStoreBitmap()
218 if (!outData->bitmapTexture) return false; in tryStoreBitmap()
220 outData->bitmapSampler = (*textureUnit)++; in tryStoreBitmap()
222 const float width = outData->bitmapTexture->width(); in tryStoreBitmap()
223 const float height = outData->bitmapTexture->height(); in tryStoreBitmap()
233 outData->wrapS = GL_CLAMP_TO_EDGE; in tryStoreBitmap()
234 outData->wrapT = GL_CLAMP_TO_EDGE; in tryStoreBitmap()
236 outData->wrapS = gTileModes[xy[0]]; in tryStoreBitmap()
237 outData->wrapT = gTileModes[xy[1]]; in tryStoreBitmap()
240 computeScreenSpaceMatrix(outData->textureTransform, SkMatrix::I(), shader.getLocalMatrix(), in tryStoreBitmap()
242 outData->textureDimension[0] = 1.0f / width; in tryStoreBitmap()
243 outData->textureDimension[1] = 1.0f / height; in tryStoreBitmap()
283 ProgramDescription* description, SkiaShaderData* outData) { in storeCompose() argument
285 textureUnit, description, &outData->bitmapData), in storeCompose()
288 textureUnit, description, &outData->gradientData), in storeCompose()
294 SkiaShaderData* outData) { in tryStoreCompose() argument
311 transform, textureUnit, description, outData); in tryStoreCompose()
315 transform, textureUnit, description, outData); in tryStoreCompose()
326 SkiaShaderData::LayerShaderData* outData) { in tryStoreLayer() argument
333 outData->layer = layer; in tryStoreLayer()
334 outData->bitmapSampler = (*textureUnit)++; in tryStoreLayer()
339 computeScreenSpaceMatrix(outData->textureTransform, SkMatrix::I(), shader.getLocalMatrix(), in tryStoreLayer()
342 outData->textureDimension[0] = 1.0f / width; in tryStoreLayer()
343 outData->textureDimension[1] = 1.0f / height; in tryStoreLayer()
362 SkiaShaderData* outData) { in store() argument
364 textureUnit, description, &outData->gradientData)) { in store()
365 outData->skiaShaderType = kGradient_SkiaShaderType; in store()
370 textureUnit, description, &outData->bitmapData)) { in store()
371 outData->skiaShaderType = kBitmap_SkiaShaderType; in store()
376 textureUnit, description, outData)) { in store()
377 outData->skiaShaderType = kCompose_SkiaShaderType; in store()
382 textureUnit, description, &outData->layerData)) { in store()
383 outData->skiaShaderType = kLayer_SkiaShaderType; in store()
388 outData->skiaShaderType = kNone_SkiaShaderType; in store()