• Home
  • Raw
  • Download

Lines Matching refs:compositionInfo

1518 int ExynosDisplay::handleStaticLayers(ExynosCompositionInfo& compositionInfo)  in handleStaticLayers()  argument
1520 if (compositionInfo.mType != COMPOSITION_CLIENT) in handleStaticLayers()
1526 if (compositionInfo.mHasCompositionLayer == false) { in handleStaticLayers()
1530 if ((compositionInfo.mWindowIndex < 0) || in handleStaticLayers()
1531 (compositionInfo.mWindowIndex >= (int32_t)mDpuData.configs.size())) in handleStaticLayers()
1533 DISPLAY_LOGE("invalid mWindowIndex(%d)", compositionInfo.mWindowIndex); in handleStaticLayers()
1537 exynos_win_config_data &config = mDpuData.configs[compositionInfo.mWindowIndex]; in handleStaticLayers()
1540 if (compositionInfo.mSkipFlag == false) { in handleStaticLayers()
1541 compositionInfo.mLastWinConfigData = config; in handleStaticLayers()
1543 compositionInfo.mWindowIndex); in handleStaticLayers()
1545 …for (size_t i = (size_t)compositionInfo.mFirstIndex; i <= (size_t)compositionInfo.mLastIndex; i++)… in handleStaticLayers()
1553 if (compositionInfo.mTargetBuffer == NULL) { in handleStaticLayers()
1557 config = compositionInfo.mLastWinConfigData; in handleStaticLayers()
1559 config.assignedMPP = compositionInfo.mOtfMPP; in handleStaticLayers()
1564 … if (!std::equal(config.fd_idma, config.fd_idma+3, compositionInfo.mLastWinConfigData.fd_idma)) { in handleStaticLayers()
1566 compositionInfo.mWindowIndex, in handleStaticLayers()
1576 compositionInfo.mLastWinConfigData.fd_idma[0], in handleStaticLayers()
1577 compositionInfo.mLastWinConfigData.fd_idma[1], in handleStaticLayers()
1578 compositionInfo.mLastWinConfigData.fd_idma[2]); in handleStaticLayers()
1583 … DISPLAY_LOGD(eDebugSkipStaicLayer, "skipStaticLayer config[%d]", compositionInfo.mWindowIndex); in handleStaticLayers()
1590 bool ExynosDisplay::skipStaticLayerChanged(ExynosCompositionInfo& compositionInfo) in skipStaticLayerChanged() argument
1592 if ((int)compositionInfo.mSkipSrcInfo.srcNum != in skipStaticLayerChanged()
1593 (compositionInfo.mLastIndex - compositionInfo.mFirstIndex + 1)) { in skipStaticLayerChanged()
1595 compositionInfo.mSkipSrcInfo.srcNum, in skipStaticLayerChanged()
1596 compositionInfo.mLastIndex - compositionInfo.mFirstIndex + 1); in skipStaticLayerChanged()
1601 …for (size_t i = (size_t)compositionInfo.mFirstIndex; i <= (size_t)compositionInfo.mLastIndex; i++)… in skipStaticLayerChanged()
1603 size_t index = i - compositionInfo.mFirstIndex; in skipStaticLayerChanged()
1605 (compositionInfo.mSkipSrcInfo.srcInfo[index].bufferHandle != layer->mLayerBuffer)) in skipStaticLayerChanged()
1610 i, compositionInfo.mSkipSrcInfo.srcInfo[index].bufferHandle, in skipStaticLayerChanged()
1613 } else if ((compositionInfo.mSkipSrcInfo.srcInfo[index].x != layer->mSrcImg.x) || in skipStaticLayerChanged()
1614 (compositionInfo.mSkipSrcInfo.srcInfo[index].y != layer->mSrcImg.y) || in skipStaticLayerChanged()
1615 (compositionInfo.mSkipSrcInfo.srcInfo[index].w != layer->mSrcImg.w) || in skipStaticLayerChanged()
1616 (compositionInfo.mSkipSrcInfo.srcInfo[index].h != layer->mSrcImg.h) || in skipStaticLayerChanged()
1617 … (compositionInfo.mSkipSrcInfo.srcInfo[index].dataSpace != layer->mSrcImg.dataSpace) || in skipStaticLayerChanged()
1618 (compositionInfo.mSkipSrcInfo.srcInfo[index].blending != layer->mSrcImg.blending) || in skipStaticLayerChanged()
1619 … (compositionInfo.mSkipSrcInfo.srcInfo[index].transform != layer->mSrcImg.transform) || in skipStaticLayerChanged()
1620 … (compositionInfo.mSkipSrcInfo.srcInfo[index].planeAlpha != layer->mSrcImg.planeAlpha)) in skipStaticLayerChanged()
1626 compositionInfo.mSkipSrcInfo.srcInfo[index].x, layer->mSrcImg.x, in skipStaticLayerChanged()
1627 compositionInfo.mSkipSrcInfo.srcInfo[index].y, layer->mSrcImg.y, in skipStaticLayerChanged()
1628 compositionInfo.mSkipSrcInfo.srcInfo[index].w, layer->mSrcImg.w, in skipStaticLayerChanged()
1629 compositionInfo.mSkipSrcInfo.srcInfo[index].h, layer->mSrcImg.h, in skipStaticLayerChanged()
1630 compositionInfo.mSkipSrcInfo.srcInfo[index].dataSpace, layer->mSrcImg.dataSpace, in skipStaticLayerChanged()
1631 compositionInfo.mSkipSrcInfo.srcInfo[index].blending, layer->mSrcImg.blending, in skipStaticLayerChanged()
1632 compositionInfo.mSkipSrcInfo.srcInfo[index].transform, layer->mSrcImg.transform, in skipStaticLayerChanged()
1633compositionInfo.mSkipSrcInfo.srcInfo[index].planeAlpha, layer->mSrcImg.planeAlpha); in skipStaticLayerChanged()
1635 } else if ((compositionInfo.mSkipSrcInfo.dstInfo[index].x != layer->mDstImg.x) || in skipStaticLayerChanged()
1636 (compositionInfo.mSkipSrcInfo.dstInfo[index].y != layer->mDstImg.y) || in skipStaticLayerChanged()
1637 (compositionInfo.mSkipSrcInfo.dstInfo[index].w != layer->mDstImg.w) || in skipStaticLayerChanged()
1638 (compositionInfo.mSkipSrcInfo.dstInfo[index].h != layer->mDstImg.h)) in skipStaticLayerChanged()
1643 compositionInfo.mSkipSrcInfo.dstInfo[index].x, layer->mDstImg.x, in skipStaticLayerChanged()
1644 compositionInfo.mSkipSrcInfo.dstInfo[index].y, layer->mDstImg.y, in skipStaticLayerChanged()
1645 compositionInfo.mSkipSrcInfo.dstInfo[index].w, layer->mDstImg.w, in skipStaticLayerChanged()
1646 compositionInfo.mSkipSrcInfo.dstInfo[index].h, layer->mDstImg.h); in skipStaticLayerChanged()
1664 int ExynosDisplay::skipStaticLayers(ExynosCompositionInfo& compositionInfo) in skipStaticLayers() argument
1666 compositionInfo.mSkipFlag = false; in skipStaticLayers()
1668 if (compositionInfo.mType != COMPOSITION_CLIENT) in skipStaticLayers()
1672 (compositionInfo.mEnableSkipStatic == false)) { in skipStaticLayers()
1674 exynosHWCControl.skipStaticLayers, compositionInfo.mEnableSkipStatic); in skipStaticLayers()
1675 compositionInfo.mSkipStaticInitFlag = false; in skipStaticLayers()
1679 if ((compositionInfo.mHasCompositionLayer == false) || in skipStaticLayers()
1680 (compositionInfo.mFirstIndex < 0) || in skipStaticLayers()
1681 (compositionInfo.mLastIndex < 0) || in skipStaticLayers()
1682 ((compositionInfo.mLastIndex - compositionInfo.mFirstIndex + 1) > NUM_SKIP_STATIC_LAYER)) { in skipStaticLayers()
1684 compositionInfo.mHasCompositionLayer, in skipStaticLayers()
1685 compositionInfo.mFirstIndex, compositionInfo.mLastIndex); in skipStaticLayers()
1686 compositionInfo.mSkipStaticInitFlag = false; in skipStaticLayers()
1690 if (compositionInfo.mSkipStaticInitFlag) { in skipStaticLayers()
1691 bool isChanged = skipStaticLayerChanged(compositionInfo); in skipStaticLayers()
1693 compositionInfo.mSkipStaticInitFlag = false; in skipStaticLayers()
1697 …for (size_t i = (size_t)compositionInfo.mFirstIndex; i <= (size_t)compositionInfo.mLastIndex; i++)… in skipStaticLayers()
1702 compositionInfo.mSkipStaticInitFlag = false; in skipStaticLayers()
1713 compositionInfo.mSkipFlag = true; in skipStaticLayers()
1718 compositionInfo.mSkipStaticInitFlag = true; in skipStaticLayers()
1719 memset(&compositionInfo.mSkipSrcInfo, 0, sizeof(compositionInfo.mSkipSrcInfo)); in skipStaticLayers()
1721 compositionInfo.mSkipSrcInfo.srcInfo[i].acquireFenceFd = -1; in skipStaticLayers()
1722 compositionInfo.mSkipSrcInfo.srcInfo[i].releaseFenceFd = -1; in skipStaticLayers()
1723 compositionInfo.mSkipSrcInfo.dstInfo[i].acquireFenceFd = -1; in skipStaticLayers()
1724 compositionInfo.mSkipSrcInfo.dstInfo[i].releaseFenceFd = -1; in skipStaticLayers()
1727 …for (size_t i = (size_t)compositionInfo.mFirstIndex; i <= (size_t)compositionInfo.mLastIndex; i++)… in skipStaticLayers()
1729 size_t index = i - compositionInfo.mFirstIndex; in skipStaticLayers()
1730 compositionInfo.mSkipSrcInfo.srcInfo[index] = layer->mSrcImg; in skipStaticLayers()
1731 compositionInfo.mSkipSrcInfo.dstInfo[index] = layer->mDstImg; in skipStaticLayers()
1735compositionInfo.mSkipSrcInfo.srcNum = (compositionInfo.mLastIndex - compositionInfo.mFirstIndex + … in skipStaticLayers()
2215 int32_t ExynosDisplay::configureOverlay(ExynosCompositionInfo &compositionInfo) in configureOverlay() argument
2217 int32_t windowIndex = compositionInfo.mWindowIndex; in configureOverlay()
2218 buffer_handle_t handle = compositionInfo.mTargetBuffer; in configureOverlay()
2219 VendorGraphicBufferMeta gmeta(compositionInfo.mTargetBuffer); in configureOverlay()
2224 __func__, compositionInfo.mType, windowIndex); in configureOverlay()
2232 if (compositionInfo.mSkipFlag) in configureOverlay()
2235 if (compositionInfo.mType == COMPOSITION_CLIENT) { in configureOverlay()
2237 __func__, compositionInfo.mType, handle); in configureOverlay()
2238 if (compositionInfo.mAcquireFence >= 0) { in configureOverlay()
2239 compositionInfo.mAcquireFence = fence_close(compositionInfo.mAcquireFence, this, in configureOverlay()
2246 __func__, compositionInfo.mType, handle); in configureOverlay()
2258 config.assignedMPP = compositionInfo.mOtfMPP; in configureOverlay()
2263 if (compositionInfo.mType == COMPOSITION_EXYNOS) { in configureOverlay()
2270 config.compressionInfo = compositionInfo.mCompressionInfo; in configureOverlay()
2271 if (compositionInfo.mCompressionInfo.type == COMP_TYPE_AFBC) { in configureOverlay()
2272 if (compositionInfo.mType == COMPOSITION_EXYNOS) in configureOverlay()
2274 else if (compositionInfo.mType == COMPOSITION_CLIENT) in configureOverlay()
2277 HWC_LOGE(this, "unknown composition type: %d", compositionInfo.mType); in configureOverlay()
2282 (compositionInfo.mHasCompositionLayer) && in configureOverlay()
2283 (compositionInfo.mFirstIndex >= 0) && in configureOverlay()
2284 (compositionInfo.mLastIndex >= 0)) { in configureOverlay()
2291 for (int i = compositionInfo.mFirstIndex; i <= compositionInfo.mLastIndex; i++) { in configureOverlay()
2370 compositionInfo.mType, windowIndex, in configureOverlay()
2391 … hwcCheckFenceDebug(this, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_DPP, compositionInfo.mAcquireFence); in configureOverlay()
2393 config.dataspace = compositionInfo.mSrcImg.dataSpace; in configureOverlay()
2397 compositionInfo.mAcquireFence = -1; in configureOverlay()
2399 compositionInfo.mType, windowIndex); in configureOverlay()
5206 const ExynosCompositionInfo& compositionInfo = in setCompositionTargetExynosImage() local
5218 if (compositionInfo.mTargetBuffer != NULL) { in setCompositionTargetExynosImage()
5219 src_img->bufferHandle = compositionInfo.mTargetBuffer; in setCompositionTargetExynosImage()
5221 VendorGraphicBufferMeta gmeta(compositionInfo.mTargetBuffer); in setCompositionTargetExynosImage()
5230 src_img->acquireFenceFd = compositionInfo.mAcquireFence; in setCompositionTargetExynosImage()
5232 src_img->dataSpace = compositionInfo.mDataSpace; in setCompositionTargetExynosImage()
5235 src_img->compressionInfo = compositionInfo.mCompressionInfo; in setCompositionTargetExynosImage()
5239 if (compositionInfo.mLastIndex < mExynosCompositionInfo.mLastIndex) in setCompositionTargetExynosImage()
5244 src_img->needPreblending = compositionInfo.mNeedPreblending; in setCompositionTargetExynosImage()
5267 dst_img->compressionInfo = compositionInfo.mCompressionInfo; in setCompositionTargetExynosImage()