Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp368 int64_t destTransfer = destinationDataspace & HAL_DATASPACE_TRANSFER_MASK; in needsToneMapping() local
371 if (destTransfer != HAL_DATASPACE_TRANSFER_LINEAR && in needsToneMapping()
372 destTransfer != HAL_DATASPACE_TRANSFER_HLG && in needsToneMapping()
373 destTransfer != HAL_DATASPACE_TRANSFER_ST2084) { in needsToneMapping()
374 destTransfer = HAL_DATASPACE_TRANSFER_SRGB; in needsToneMapping()
385 const bool isDestLinear = destTransfer == HAL_DATASPACE_TRANSFER_LINEAR; in needsToneMapping()
386 const bool isDestSRGB = destTransfer == HAL_DATASPACE_TRANSFER_SRGB; in needsToneMapping()
389 sourceTransfer != destTransfer; in needsToneMapping()