/external/skia/src/shaders/ |
D | SkColorFilterShader.cpp | 27 , fAlpha (alpha) in SkColorFilterShader() 43 return fShader->isOpaque() && fAlpha == 1.0f && as_CFB(fFilter)->isAlphaUnchanged(); in isOpaque() 48 SkASSERT(fAlpha == 1.0f); // Not exposed in public API SkShader::makeWithColorFilter(). in flatten() 56 if (fAlpha != 1.0f) { in onAppendStages() 57 rec.fPipeline->append(SkRasterPipeline::scale_1_float, rec.fAlloc->make<float>(fAlpha)); in onAppendStages() 78 if (fAlpha != 1.0f) { in onProgram() 79 skvm::F32 A = p->uniformF(uniforms->pushF(fAlpha)); in onProgram() 102 SkASSERT(fAlpha == 1.0f); in asFragmentProcessor()
|
/external/skia/src/core/ |
D | SkDistanceFieldGen.cpp | 19 float fAlpha; // alpha value of source texel member 84 data->fAlpha = 1.0f; in init_glyph_data() 86 data->fAlpha = (*image)*0.00392156862f; // 1/255 in init_glyph_data() 172 currGrad.fX = (prevData+1)->fAlpha - (prevData-1)->fAlpha in init_distances() 173 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances() 174 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances() 175 + (nextData+1)->fAlpha - (nextData-1)->fAlpha; in init_distances() 176 currGrad.fY = (nextData-1)->fAlpha - (prevData-1)->fAlpha in init_distances() 177 + SK_ScalarSqrt2*nextData->fAlpha in init_distances() 178 - SK_ScalarSqrt2*prevData->fAlpha in init_distances() [all …]
|
D | SkAlphaRuns.cpp | 20 fAlpha[0] = 0; in reset() 31 const uint8_t* alpha = fAlpha; in assertValid() 42 const uint8_t* alpha = fAlpha; in dump()
|
D | SkAntiRun.h | 22 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()
|
D | SkSpriteBlitter_ARGB32.cpp | 33 fAlpha = alpha; in Sprite_D32_S32() 43 U8CPU alpha = fAlpha; in blitRect() 54 U8CPU fAlpha; member in Sprite_D32_S32
|
/external/skqp/src/core/ |
D | SkDistanceFieldGen.cpp | 18 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 …]
|
D | SkAlphaRuns.cpp | 20 fAlpha[0] = 0; in reset() 31 const uint8_t* alpha = fAlpha; in assertValid() 42 const uint8_t* alpha = fAlpha; in dump()
|
D | SkAntiRun.h | 22 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()
|
D | SkSpriteBlitter_ARGB32.cpp | 34 fAlpha = alpha; in Sprite_D32_S32() 44 U8CPU alpha = fAlpha; in blitRect() 55 U8CPU fAlpha; member in Sprite_D32_S32
|
/external/skia/src/gpu/ |
D | GrAATriangulator.h | 32 : fEdge(edge), fPoint(point), fAlpha(alpha) {} in Event() 35 uint8_t fAlpha; member 42 return fOp == Op::kLessThan ? e1->fAlpha < e2->fAlpha in operator() 43 : e1->fAlpha > e2->fAlpha; in operator()
|
/external/skqp/include/private/ |
D | SkEncodedInfo.h | 166 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/skia/include/private/ |
D | SkEncodedInfo.h | 166 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/ |
D | SampleAtlas.cpp | 83 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()
|
D | SampleLines.cpp | 71 paint.setAlpha(fAlpha & 0xFF); in onDrawContent() 94 fAlpha = SkScalarRoundToInt(y); in onFindClickHandler() 99 int fAlpha; member in LinesView
|
/external/skia/samplecode/ |
D | SampleAtlas.cpp | 85 SkScalar fAlpha; member 115 fAlpha += fDAlpha; in advance() 116 if (fAlpha > 1) { in advance() 117 fAlpha = 1; in advance() 119 } else if (fAlpha < 0) { in advance() 120 fAlpha = 0; in advance() 165 fRec[i].fAlpha = rand.nextUScalar1(); in DrawAtlasDrawable() 185 colors[i] = SkColorSetARGB((int)(fRec[i].fAlpha * 0xFF), 0xFF, 0xFF, 0xFF); in onDraw()
|
/external/skqp/bench/ |
D | BitmapRectBench.cpp | 45 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/ |
D | SkMasks.h | 27 , fAlpha(alpha) { } in SkMasks() 49 return fAlpha.mask; in getAlphaMask() 56 const MaskInfo fAlpha; variable
|
D | SkMasks.cpp | 81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size); in getAlpha()
|
/external/skqp/src/codec/ |
D | SkMasks.cpp | 81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size); in getAlpha() 160 , fAlpha(alpha) in SkMasks()
|
D | SkMasks.h | 67 return fAlpha.mask; in getAlphaMask() 83 const MaskInfo fAlpha; variable
|
/external/skqp/src/gpu/effects/ |
D | GrSRGBEffect.h | 35 Alpha alpha() const { return fAlpha; } in alpha() 49 Alpha fAlpha; variable
|
/external/skqp/src/pdf/ |
D | SkPDFGraphicState.h | 51 SkScalar fAlpha; member 63 SkScalar fAlpha; member
|
D | SkPDFGraphicState.cpp | 67 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/ |
D | SkPDFGraphicState.h | 51 SkScalar fAlpha; member 63 SkScalar fAlpha; member
|
D | SkPDFGraphicState.cpp | 67 state.insertColorComponentF("ca", fillKey.fAlpha); in GetGraphicStateForPaint() 87 state.insertColorComponentF("CA", strokeKey.fAlpha); in GetGraphicStateForPaint() 88 state.insertColorComponentF("ca", strokeKey.fAlpha); in GetGraphicStateForPaint()
|