Home
last modified time | relevance | path

Searched refs:fAlpha (Results 1 – 25 of 64) sorted by relevance

123

/external/skia/src/shaders/
DSkColorFilterShader.cpp26 , fAlpha (alpha) in SkColorFilterShader()
43 && fAlpha == 1.0f in isOpaque()
49 SkASSERT(fAlpha == 1.0f); // Not exposed in public API SkShader::makeWithColorFilter(). in flatten()
57 if (fAlpha != 1.0f) { in onAppendStages()
58 rec.fPipeline->append(SkRasterPipeline::scale_1_float, rec.fAlloc->make<float>(fAlpha)); in onAppendStages()
76 if (fAlpha != 1.0f) { in onProgram()
77 skvm::F32 A = p->uniformF(uniforms->pushF(fAlpha)); in onProgram()
105 SkASSERT(fAlpha == 1.0f); in asFragmentProcessor()
/external/skqp/src/core/
DSkDistanceFieldGen.cpp18 float fAlpha; // alpha value of source texel member
83 data->fAlpha = 1.0f; in init_glyph_data()
85 data->fAlpha = (*image)*0.00392156862f; // 1/255 in init_glyph_data()
171 currGrad.fX = (prevData+1)->fAlpha - (prevData-1)->fAlpha in init_distances()
172 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
173 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
174 + (nextData+1)->fAlpha - (nextData-1)->fAlpha; in init_distances()
175 currGrad.fY = (nextData-1)->fAlpha - (prevData-1)->fAlpha in init_distances()
176 + SK_ScalarSqrt2*nextData->fAlpha in init_distances()
177 - SK_ScalarSqrt2*prevData->fAlpha in init_distances()
[all …]
DSkAlphaRuns.cpp20 fAlpha[0] = 0; in reset()
31 const uint8_t* alpha = fAlpha; in assertValid()
42 const uint8_t* alpha = fAlpha; in dump()
DSkAntiRun.h22 uint8_t* fAlpha; variable
34 return fAlpha[0] == 0 && fRuns[fRuns[0]] == 0; in empty()
61 uint8_t* alpha = fAlpha + offsetX; in add()
107 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
DSkSpriteBlitter_ARGB32.cpp34 fAlpha = alpha; in Sprite_D32_S32()
44 U8CPU alpha = fAlpha; in blitRect()
55 U8CPU fAlpha; member in Sprite_D32_S32
/external/skia/src/core/
DSkDistanceFieldGen.cpp18 float fAlpha; // alpha value of source texel member
83 data->fAlpha = 1.0f; in init_glyph_data()
85 data->fAlpha = (*image)*0.00392156862f; // 1/255 in init_glyph_data()
171 currGrad.fX = (prevData+1)->fAlpha - (prevData-1)->fAlpha in init_distances()
172 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
173 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
174 + (nextData+1)->fAlpha - (nextData-1)->fAlpha; in init_distances()
175 currGrad.fY = (nextData-1)->fAlpha - (prevData-1)->fAlpha in init_distances()
176 + SK_ScalarSqrt2*nextData->fAlpha in init_distances()
177 - SK_ScalarSqrt2*prevData->fAlpha in init_distances()
[all …]
DSkAlphaRuns.cpp20 fAlpha[0] = 0; in reset()
31 const uint8_t* alpha = fAlpha; in assertValid()
42 const uint8_t* alpha = fAlpha; in dump()
DSkAntiRun.h22 uint8_t* fAlpha; variable
34 return fAlpha[0] == 0 && fRuns[fRuns[0]] == 0; in empty()
61 uint8_t* alpha = fAlpha + offsetX; in add()
107 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
DSkSpriteBlitter_ARGB32.cpp33 fAlpha = alpha; in Sprite_D32_S32()
43 U8CPU alpha = fAlpha; in blitRect()
54 U8CPU fAlpha; member in Sprite_D32_S32
/external/skia/include/private/
DSkEncodedInfo.h164 auto alpha = kOpaque_Alpha == fAlpha ? kOpaque_SkAlphaType in makeImageInfo()
177 Alpha alpha() const { return fAlpha; } in alpha()
178 bool opaque() const { return fAlpha == kOpaque_Alpha; } in opaque()
221 auto copy = SkEncodedInfo::Make(fWidth, fHeight, fColor, fAlpha, fBitsPerComponent); in copy()
234 , fAlpha(alpha) in SkEncodedInfo()
242 Alpha fAlpha; member
/external/skqp/include/private/
DSkEncodedInfo.h166 auto alpha = kOpaque_Alpha == fAlpha ? kOpaque_SkAlphaType in makeImageInfo()
179 Alpha alpha() const { return fAlpha; } in alpha()
180 bool opaque() const { return fAlpha == kOpaque_Alpha; } in opaque()
223 auto copy = SkEncodedInfo::Make(fWidth, fHeight, fColor, fAlpha, fBitsPerComponent); in copy()
236 , fAlpha(alpha) in SkEncodedInfo()
244 Alpha fAlpha; member
/external/skqp/samplecode/
DSampleAtlas.cpp83 SkScalar fAlpha; member
113 fAlpha += fDAlpha; in advance()
114 if (fAlpha > 1) { in advance()
115 fAlpha = 1; in advance()
117 } else if (fAlpha < 0) { in advance()
118 fAlpha = 0; in advance()
163 fRec[i].fAlpha = rand.nextUScalar1(); in DrawAtlasDrawable()
183 colors[i] = SkColorSetARGB((int)(fRec[i].fAlpha * 0xFF), 0xFF, 0xFF, 0xFF); in onDraw()
DSampleLines.cpp71 paint.setAlpha(fAlpha & 0xFF); in onDrawContent()
94 fAlpha = SkScalarRoundToInt(y); in onFindClickHandler()
99 int fAlpha; member in LinesView
/external/skia/samplecode/
DSampleAtlas.cpp82 SkScalar fAlpha; member
112 fAlpha += fDAlpha; in advance()
113 if (fAlpha > 1) { in advance()
114 fAlpha = 1; in advance()
116 } else if (fAlpha < 0) { in advance()
117 fAlpha = 0; in advance()
162 fRec[i].fAlpha = rand.nextUScalar1(); in DrawAtlasDrawable()
182 colors[i] = SkColorSetARGB((int)(fRec[i].fAlpha * 0xFF), 0xFF, 0xFF, 0xFF); in onDraw()
/external/skqp/bench/
DBitmapRectBench.cpp45 uint8_t fAlpha; member in BitmapRectBench
55 fAlpha = SkToU8(alpha); in BitmapRectBench()
65 fAlpha, in onGetName()
97 paint.setAlpha(fAlpha); in onDraw()
/external/skia/bench/
DBitmapRectBench.cpp45 uint8_t fAlpha; member in BitmapRectBench
55 fAlpha = SkToU8(alpha); in BitmapRectBench()
65 fAlpha, in onGetName()
97 paint.setAlpha(fAlpha); in onDraw()
/external/skia/src/codec/
DSkMasks.h27 , fAlpha(alpha) { } in SkMasks()
49 return fAlpha.mask; in getAlphaMask()
56 const MaskInfo fAlpha; variable
DSkMasks.cpp81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size); in getAlpha()
/external/skqp/src/codec/
DSkMasks.cpp81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size); in getAlpha()
160 , fAlpha(alpha) in SkMasks()
DSkMasks.h67 return fAlpha.mask; in getAlphaMask()
83 const MaskInfo fAlpha; variable
/external/skia/src/gpu/effects/
DGrSRGBEffect.h35 Alpha alpha() const { return fAlpha; } in alpha()
49 Alpha fAlpha; variable
/external/skqp/src/gpu/effects/
DGrSRGBEffect.h35 Alpha alpha() const { return fAlpha; } in alpha()
49 Alpha fAlpha; variable
/external/skqp/src/pdf/
DSkPDFGraphicState.h51 SkScalar fAlpha; member
63 SkScalar fAlpha; member
DSkPDFGraphicState.cpp67 state.insertColorComponentF("ca", fillKey.fAlpha); in GetGraphicStateForPaint()
87 state.insertColorComponentF("CA", strokeKey.fAlpha); in GetGraphicStateForPaint()
88 state.insertColorComponentF("ca", strokeKey.fAlpha); in GetGraphicStateForPaint()
/external/skia/src/pdf/
DSkPDFGraphicState.h51 SkScalar fAlpha; member
63 SkScalar fAlpha; member

123