Lines Matching refs:opa

39 #define DRAW_UTILS_PREPROCESS(gfxBufferInfo, opa)                         \  argument
40 if ((opa) == OPA_TRANSPARENT) { \
83 OpacityType opa, in DrawColorAreaBySides() argument
87 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, area, mask, color, opa); in DrawColorAreaBySides()
94 OpacityType opa) const in DrawColorArea()
96 if (opa == OPA_TRANSPARENT) { in DrawColorArea()
105 BaseGfxEngine::GetInstance()->Fill(gfxDstBuffer, maskedArea, color, opa); in DrawColorArea()
161 OpacityType opa) const in DrawPixel()
167 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa); in DrawPixel()
173 COLOR_FILL_BLEND(screenBuffer, bufferMode, &fillColor, ARGB8888, opa); in DrawPixel()
219 DrawImage(gfxDstBuffer, srcRect, letterInfo.mask, fontMap, letterInfo.opa, pxSize, ARGB8888); in DrawColorLetter()
290 fontWeight, letterInfo.color, letterInfo.opa); in DrawNormalLetter()
299 const OpacityType opa) const in DrawLetter()
337 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa); in DrawLetter()
359 if (opa != OPA_OPAQUE) { in DrawLetter()
361 … static_cast<OpacityType>((static_cast<uint16_t>(validOpacity) * opa) >> FONT_WEIGHT_8); in DrawLetter()
382 OpacityType opa, in DrawImage() argument
412 blendOption.opacity = opa; in DrawImage()
420 const OpacityType& opa) const in FillAreaWithSoftWare()
440 if ((fillColor.alpha == OPA_TRANSPARENT) || (opa == OPA_TRANSPARENT)) { in FillAreaWithSoftWare()
444 if ((opa == OPA_OPAQUE) && (fillColor.alpha == OPA_OPAQUE)) { in FillAreaWithSoftWare()
476 pipeLine.Construct(mode, ARGB8888, &fillColor, opa); in FillAreaWithSoftWare()
487 COLOR_FILL_BLEND(buf, mode, &fillColor, ARGB8888, opa); in FillAreaWithSoftWare()
499 COLOR_FILL_BLEND(dstTmp, mode, &fillColor, ARGB8888, opa); in FillAreaWithSoftWare()
579 OpacityType opa, in BlendWithSoftWare() argument
600 GetInstance()->SetDestAndSrc(srcMode, destMode, height, src, width, opa, dest, in BlendWithSoftWare()
609 COLOR_FILL_BLEND(destTmp, destMode, srcTmp, srcMode, opa); in BlendWithSoftWare()
622 uint32_t width, OpacityType opa, uint8_t* dest, uint32_t destStride, in SetDestAndSrc() argument
635 pipeLine.Invoke(dstBuf, srcBuf, opa); in SetDestAndSrc()
641 COLOR_FILL_BLEND(dstBuf, destMode, srcBuf, srcMode, opa); in SetDestAndSrc()
1571 OpacityType opa = in.opaScale; local
1576 if (opa == OPA_OPAQUE) {
1579 COLOR_FILL_BLEND(screenBuffer, bufferMode, &p24, RGB888, opa);
1585 if (opa == OPA_OPAQUE) {
1588 COLOR_FILL_BLEND(screenBuffer, bufferMode, &p16, RGB565, opa);
2073 OpacityType opa, argument
2076 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa);
2081 OpacityType fillOpa = (weight ^ OPA_OPAQUE) * opa / OPA_OPAQUE;
2087 OpacityType fillOpa = weight * opa / OPA_OPAQUE;
2097 OpacityType opa, argument
2100 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa);
2105 OpacityType fillOpa = weight * opa / OPA_OPAQUE;
2116 OpacityType opa, argument
2119 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa);
2129 OpacityType fillOpa = weight * opa / OPA_OPAQUE;
2135 if (opa == OPA_OPAQUE) {
2138 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, ARGB8888, opa);
2144 OpacityType fillOpa = (weight ^ OPA_OPAQUE) * opa / OPA_OPAQUE;
2155 OpacityType opa, argument
2158 DRAW_UTILS_PREPROCESS(gfxDstBuffer, opa);
2168 OpacityType fillOpa = weight * opa / OPA_OPAQUE;
2174 if (opa == OPA_OPAQUE) {
2177 COLOR_FILL_BLEND(screenBuffer, bufferMode, &result, ARGB8888, opa);
2183 OpacityType fillOpa = (weight ^ OPA_OPAQUE) * opa / OPA_OPAQUE;