Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DHdrSdrRatioOverlay.cpp44 sp<GraphicBuffer> HdrSdrRatioOverlay::draw(float currentHdrSdrRatio, SkColor color, in draw() argument
86 drawNumber(currentHdrSdrRatio, 0, color, *canvas); in draw()
127 void HdrSdrRatioOverlay::changeHdrSdrRatio(float currentHdrSdrRatio) { in changeHdrSdrRatio() argument
128 mCurrentHdrSdrRatio = currentHdrSdrRatio; in changeHdrSdrRatio()
151 auto HdrSdrRatioOverlay::getOrCreateBuffers(float currentHdrSdrRatio) -> const sp<GraphicBuffer> { in getOrCreateBuffers() argument
178 const float scale = currentHdrSdrRatio / 9.f; in getOrCreateBuffers()
190 auto buffer = draw(currentHdrSdrRatio, color, transformHint, mRingBuffer[mIndex]); in getOrCreateBuffers()
DHdrSdrRatioOverlay.h45 static sp<GraphicBuffer> draw(float currentHdrSdrRatio, SkColor, ui::Transform::RotationFlags,
49 const sp<GraphicBuffer> getOrCreateBuffers(float currentHdrSdrRatio);
DDisplayDevice.cpp400 void DisplayDevice::updateHdrSdrRatioOverlayRatio(float currentHdrSdrRatio) { in updateHdrSdrRatioOverlayRatio() argument
402 mHdrSdrRatio = currentHdrSdrRatio; in updateHdrSdrRatioOverlayRatio()
404 mHdrSdrRatioOverlay->changeHdrSdrRatio(currentHdrSdrRatio); in updateHdrSdrRatioOverlayRatio()
DDisplayDevice.h203 void updateHdrSdrRatioOverlayRatio(float currentHdrSdrRatio);
DLayer.h234 float currentHdrSdrRatio = 1.f; member
307 float getCurrentHdrSdrRatio() const { return getDrawingState().currentHdrSdrRatio; } in getCurrentHdrSdrRatio()
DLayer.cpp649 snapshot->currentHdrSdrRatio = getCurrentHdrSdrRatio(); in preparePerFrameCompositionState()
3327 if (mDrawingState.currentHdrSdrRatio == currentBufferRatio && in setExtendedRangeBrightness()
3330 mDrawingState.currentHdrSdrRatio = currentBufferRatio; in setExtendedRangeBrightness()
3942 if (mDrawingState.currentHdrSdrRatio != s.currentHdrSdrRatio || in isSimpleBufferUpdate()
DSurfaceFlinger.cpp2053 float currentHdrSdrRatio = in setDisplayBrightness()
2057 display->updateHdrSdrRatioOverlayRatio(currentHdrSdrRatio)); in setDisplayBrightness()
5738 if (layer->setExtendedRangeBrightness(s.currentHdrSdrRatio, s.desiredHdrSdrRatio)) { in setClientStateLocked()
5923 if (layer->setExtendedRangeBrightness(s.currentHdrSdrRatio, s.desiredHdrSdrRatio)) { in updateLayerCallbacksAndStats()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp124 if (currentHdrSdrRatio > 1.01f || desiredHdrSdrRatio > 1.01f) { in dump()
125 dumpVal(out, "current hdr/sdr ratio", currentHdrSdrRatio); in dump()
DOutputLayer.cpp358 layerBrightnessNits *= layerFEState->currentHdrSdrRatio; in updateCompositionState()
/frameworks/base/libs/hwui/private/hwui/
DDrawGlInfo.h93 float currentHdrSdrRatio; member
DDrawVkInfo.h78 float currentHdrSdrRatio; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h213 float currentHdrSdrRatio = 1.f; member
/frameworks/base/libs/hwui/pipeline/skia/
DVkFunctorDrawable.cpp80 .currentHdrSdrRatio = getTargetHdrSdrRatio(mImageInfo.colorSpace()), in draw()
DVkInteropFunctorDrawable.cpp145 info.currentHdrSdrRatio = getTargetHdrSdrRatio(info.color_space_ptr); in onDraw()
DGLFunctorDrawable.cpp141 info.currentHdrSdrRatio = getTargetHdrSdrRatio(info.color_space_ptr); in onDraw()
/frameworks/native/libs/gui/
DLayerState.cpp193 SAFE_PARCEL(output.writeFloat, currentHdrSdrRatio); in write()
332 currentHdrSdrRatio = tmpFloat; in read()
596 currentHdrSdrRatio = other.currentHdrSdrRatio; in merge()
757 CHECK_DIFF2(diff, eExtendedRangeBrightnessChanged, other, currentHdrSdrRatio, in diff()
DSurfaceComposerClient.cpp1812 s->currentHdrSdrRatio = currentBufferRatio; in setExtendedRangeBrightness()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp380 currentHdrSdrRatio = requested.currentHdrSdrRatio; in merge()
DRequestedLayerState.cpp102 currentHdrSdrRatio = 1.f; in RequestedLayerState()
/frameworks/native/libs/gui/include/gui/
DLayerState.h403 float currentHdrSdrRatio = 1.f; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h257 return getOutputLayer()->getLayerFE().getCompositionState()->currentHdrSdrRatio;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp670 mTestLayers[0]->layerFECompositionState.currentHdrSdrRatio = 5.f; in TEST_F()
DLayerStateTest.cpp312 layerFECompositionState.currentHdrSdrRatio = 2.f; in TEST_F()