• Home
  • Raw
  • Download

Lines Matching refs:fill

241             mOutGlop->fill.color = {  in setFill()
248 mOutGlop->fill.color = { 1, 1, 1, alpha }; in setFill()
251 mOutGlop->fill.color = { 0, 0, 0, 1 }; in setFill()
255 if (mOutGlop->fill.color.a < 1.0f in setFill()
257 || (mOutGlop->fill.texture.texture && mOutGlop->fill.texture.texture->blend) in setFill()
289 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Blend; in setFill()
294 mOutGlop->fill.filter.color = { in setFill()
301 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Matrix; in setFill()
303 float* colorMatrix = mOutGlop->fill.filter.matrix.matrix; in setFill()
311 float* colorVector = mOutGlop->fill.filter.matrix.vector; in setFill()
320 mOutGlop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in setFill()
331 mOutGlop->fill.texture = { &texture, in setFillTexturePaint()
347 mOutGlop->fill.color = { alphaScale, alphaScale, alphaScale, alphaScale }; in setFillTexturePaint()
361 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillTexturePaint()
364 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillTexturePaint()
374 mOutGlop->fill.texture = { in setFillPaint()
377 mOutGlop->fill.texture = { in setFillPaint()
386 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillPaint()
396 mOutGlop->fill.texture = { &texture, GL_TEXTURE_2D, GL_INVALID_ENUM, GL_INVALID_ENUM, nullptr }; in setFillPathTexturePaint()
403 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillPathTexturePaint()
413 mOutGlop->fill.texture = { &texture, GL_TEXTURE_2D, GL_INVALID_ENUM, GL_INVALID_ENUM, nullptr }; in setFillShadowTexturePaint()
427 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillShadowTexturePaint()
435 … mOutGlop->fill.texture = { nullptr, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM, nullptr }; in setFillBlack()
445 … mOutGlop->fill.texture = { nullptr, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM, nullptr }; in setFillClear()
456 mOutGlop->fill.texture = { &texture, in setFillLayer()
461 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillLayer()
469 mOutGlop->fill.texture = { &(layer.getTexture()), in setFillTextureLayer()
475 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillTextureLayer()
484 mOutGlop->fill.texture = { &texture, in setFillExternalTexture()
491 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillExternalTexture()
538 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewMapUnitToRectSnap()
572 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewOffsetRectSnap()
600 if (glop.fill.texture.texture != nullptr) { in verify()
608 glop.fill.texture.texture, in verify()
625 if (description.hasTextureTransform != (glop.fill.texture.textureTransform != nullptr)) { in verify()
633 if (mOutGlop->fill.texture.target == GL_TEXTURE_2D) { in build()
650 GLuint textureUnit = mOutGlop->fill.texture.texture ? 1 : 0; in build()
653 mOutGlop->fill.skiaShaderData.skiaShaderType = kNone_SkiaShaderType; in build()
665 &textureUnit, &mDescription, &(mOutGlop->fill.skiaShaderData)); in build()
673 mOutGlop->fill.colorEnabled = mDescription.modulate || singleColor; in build()
678 mOutGlop->fill.program = mCaches.programCache.get(mDescription); in build()
697 const Glop::Fill& fill = glop.fill; in dump() local
698 ALOGD(" program %p", fill.program); in dump()
699 if (fill.texture.texture) { in dump()
701 fill.texture.texture, fill.texture.target, fill.texture.filter, fill.texture.clamp); in dump()
702 if (fill.texture.textureTransform) { in dump()
703 fill.texture.textureTransform->dump("texture transform"); in dump()
706 ALOGD_IF(fill.colorEnabled, " color (argb) %.2f %.2f %.2f %.2f", in dump()
707 fill.color.a, fill.color.r, fill.color.g, fill.color.b); in dump()
708 ALOGD_IF(fill.filterMode != ProgramDescription::ColorFilterMode::None, in dump()
709 " filterMode %d", (int)fill.filterMode); in dump()
710 ALOGD_IF(fill.skiaShaderData.skiaShaderType, " shader type %d", in dump()
711 fill.skiaShaderData.skiaShaderType); in dump()