Searched refs:alphaScale (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkBitmapProcState_filter.h | 53 unsigned alphaScale) { in Filter_32_alpha() argument 56 SkASSERT(alphaScale <= 256); in Filter_32_alpha() 76 lo = ((lo >> 8) & mask) * alphaScale; in Filter_32_alpha() 77 hi = ((hi >> 8) & mask) * alphaScale; in Filter_32_alpha() 107 unsigned alphaScale) { in Filter_32_alpha() argument 109 SkASSERT(alphaScale <= 256); in Filter_32_alpha() 121 lo = ((lo >> 8) & mask) * alphaScale; in Filter_32_alpha() 122 hi = ((hi >> 8) & mask) * alphaScale; in Filter_32_alpha()
|
D | SkBitmapProcState_procs.h | 98 … FILTER_PROC(x, y, a, b, c, d, dst) NAME_WRAP(Filter_32_alpha)(x, y, a, b, c, d, dst, alphaScale) 104 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale 105 #define RETURNDST(src) SkAlphaMulQ(src, alphaScale) 130 *(dst) = SkAlphaMulQ(SkExpanded_565_To_PMColor(tmp), alphaScale); \ 137 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale 138 #define RETURNDST(src) SkAlphaMulQ(SkPixel16ToPixel32(src), alphaScale) 158 … FILTER_PROC(x, y, a, b, c, d, dst) NAME_WRAP(Filter_32_alpha)(x, y, a, b, c, d, dst, alphaScale) 164 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale; \ 166 #define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale) 188 *(dst) = SkAlphaMulQ(tmp, alphaScale); \ [all …]
|
D | SkDraw.cpp | 1779 const int alphaScale = Sk255To256(this->getPaintAlpha()); in shadeSpan() local 1799 if (256 != alphaScale) { in shadeSpan() 1800 scale0 = SkAlphaMul(scale0, alphaScale); in shadeSpan() 1801 scale1 = SkAlphaMul(scale1, alphaScale); in shadeSpan() 1802 scale2 = SkAlphaMul(scale2, alphaScale); in shadeSpan()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 314 …const float alphaScale = float(1 + (((renderbufferCount/2) + renderbufferCount - renderbuffer… in clearRenderbuffer() local 323 const float alpha = -1000.0f + 2000.0f * alphaScale; in clearRenderbuffer() 336 … deInt32 alpha = deInt32(info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaScale); in clearRenderbuffer() 349 const deUint32 alpha = deUint32(info.valueMax.w() * alphaScale); in clearRenderbuffer() 362 const float alpha = info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaScale; in clearRenderbuffer() 375 const float alpha = info.valueMax.w() * alphaScale; in clearRenderbuffer()
|
/external/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 167 unsigned alphaScale = ctx.fPaint->getAlpha() + (ctx.fPaint->getAlpha() >> 7); in LinearGradientContext() local 170 pmc = SkAlphaMulQ(pmc, alphaScale); in LinearGradientContext()
|