Home
last modified time | relevance | path

Searched refs:reportsAlpha (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/codec/
DSkCodec.cpp736 const bool reportsAlpha = frame->reportedAlpha() != SkEncodedInfo::kOpaque_Alpha; in setAlphaAndRequiredFrame() local
742 frame->setHasAlpha(reportsAlpha || frameRect != screenRect); in setAlphaAndRequiredFrame()
749 if ((!reportsAlpha || !blendWithPrevFrame) && frameRect == screenRect) { in setAlphaAndRequiredFrame()
750 frame->setHasAlpha(reportsAlpha); in setAlphaAndRequiredFrame()
778 if (reportsAlpha && blendWithPrevFrame) { in setAlphaAndRequiredFrame()
815 frame->setHasAlpha(prevFrame->hasAlpha() || (reportsAlpha && !blendWithPrevFrame)); in setAlphaAndRequiredFrame()
/external/skqp/src/codec/
DSkCodec.cpp736 const bool reportsAlpha = frame->reportedAlpha() != SkEncodedInfo::kOpaque_Alpha; in setAlphaAndRequiredFrame() local
742 frame->setHasAlpha(reportsAlpha || frameRect != screenRect); in setAlphaAndRequiredFrame()
749 if ((!reportsAlpha || !blendWithPrevFrame) && frameRect == screenRect) { in setAlphaAndRequiredFrame()
750 frame->setHasAlpha(reportsAlpha); in setAlphaAndRequiredFrame()
778 if (reportsAlpha && blendWithPrevFrame) { in setAlphaAndRequiredFrame()
815 frame->setHasAlpha(prevFrame->hasAlpha() || (reportsAlpha && !blendWithPrevFrame)); in setAlphaAndRequiredFrame()