/third_party/vk-gl-cts/framework/common/ |
D | tcuRGBA.hpp | 82 int getAlpha (void) const { return (int)((m_value >> (deUint32)ALPHA_SHIFT) & 0xFFu); } in getAlpha() function in tcu::RGBA 85 …(getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); } in isBelowThreshold() 88 …); bytes[1] = (deUint8)getGreen(); bytes[2] = (deUint8)getBlue(); bytes[3] = (deUint8)getAlpha(); } in toBytes() 122 deAbs32(a.getAlpha() - b.getAlpha())); in computeAbsDiff() 134 (int)(it*(float)a.getAlpha() + t*(float)b.getAlpha() + 0.5f)); in blend() 148 deMax32(a.getAlpha(), b.getAlpha())); in max() 161 deClamp32(a.getAlpha() + b.getAlpha(), 0, 255)); in operator +() 169 deClamp32(a.getAlpha() - b.getAlpha(), 0, 255)); in operator -() 177 deClamp32(a.getAlpha() * b, 0, 255)); in operator *() 182 …RGBA(" << c.getRed() << ", " << c.getGreen() << ", " << c.getBlue() << ", " << c.getAlpha() << ")"; in operator <<()
|
D | tcuRGBA.cpp | 45 float(getAlpha()) / 255.0f); in toVec() 50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
|
D | tcuPixelFormat.hpp | 122 alphaBits ? convertChannel(col.getAlpha(), alphaBits) : 0xff); in convertColor()
|
/third_party/flutter/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 58 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_unpremul() 76 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_unpremul() 94 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_premul() 112 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_premul() 183 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_unpremul() 201 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_unpremul() 219 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_premul() 237 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_premul() 306 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_rgba_unpremul() 324 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_bgra_unpremul() [all …]
|
D | SkMasks.h | 58 uint8_t getAlpha(uint32_t pixel) const;
|
/third_party/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 58 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_unpremul() 76 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_unpremul() 94 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_premul() 112 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_premul() 183 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_unpremul() 201 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_unpremul() 219 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_premul() 237 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_premul() 306 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_rgba_unpremul() 324 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_bgra_unpremul() [all …]
|
D | SkMasks.h | 44 uint8_t getAlpha(uint32_t pixel) const;
|
/third_party/skia/gm/ |
D | aaxfermodes.cpp | 148 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass() 227 if (255 != paint->getAlpha()) { in setupShapePaint() 230 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
|
/third_party/flutter/skia/gm/ |
D | aaxfermodes.cpp | 146 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass() 225 if (255 != paint->getAlpha()) { in setupShapePaint() 228 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
|
/third_party/flutter/skia/docs/examples/ |
D | Paint_getAlpha.cpp | 8 SkDebugf("255 %c= paint.getAlpha()\n", 255 == paint.getAlpha() ? '=' : '!'); in draw()
|
/third_party/skia/docs/examples/ |
D | Paint_getAlpha.cpp | 8 SkDebugf("255 %c= paint.getAlpha()\n", 255 == paint.getAlpha() ? '=' : '!'); in draw()
|
/third_party/flutter/skia/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 77 U8CPU alpha = paint.getAlpha(); in ChooseL565() 165 U8CPU alpha = paint.getAlpha(); in ChooseLA8()
|
D | SkXfermodeInterpretation.cpp | 12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
|
D | SkRecordOpts.cpp | 138 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint() 179 0xFF == paint->getAlpha() && paint->getBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
|
D | SkPaintPriv.cpp | 29 const unsigned paintAlpha = paint->getAlpha(); in Overwrites()
|
/third_party/skia/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 76 U8CPU alpha = paint.getAlpha(); in ChooseL565() 165 U8CPU alpha = paint.getAlpha(); in ChooseLA8()
|
D | SkRecordOpts.cpp | 138 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint() 179 0xFF == paint->getAlpha() && paint->asBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
|
D | SkXfermodeInterpretation.cpp | 12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
|
/third_party/flutter/skia/src/shaders/ |
D | SkShader.cpp | 108 fPaintAlpha = rec.fPaint->getAlpha(); in Context() 158 if (rec.fPaint.getAlpha() != SK_AlphaOPAQUE) { in onAppendStages()
|
/third_party/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 86 SkASSERT(0xFF == paint.getAlpha()); in drawShape() 124 SkASSERT(0xFF == paint.getAlpha()); in drawShape()
|
/third_party/flutter/skia/experimental/svg/model/ |
D | SkSVGRenderContext.cpp | 109 p->setColor(SkColorSetA(svgPaint.color(), p->getAlpha())); in applySvgPaint() 380 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha())); in applyOpacity() 383 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGDraw.cpp | 48 if (!paint.getAlpha()) { in onNodeAt()
|
D | SkSGPaint.cpp | 33 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGDraw.cpp | 48 if (!paint.getAlpha()) { in onNodeAt()
|
D | SkSGPaint.cpp | 34 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
|