commit | f97df4d8a6e4ef1364244b0e9adefc08c3f95c06 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Wed Sep 06 02:10:05 2023 +0000 |
committer | Alec Mouri <alecmouri@google.com> | Wed Dec 06 00:16:02 2023 +0000 |
tree | bd5a54efeda611d597c67dca073abe995b928feb | |
parent | d6a6f38c2449d059e9ba2f90668b95145f6237b8 [diff] [blame] |
Support fp16 in sf * Make sure we don't dim SDR in renderengine, and instead map HDR to the correct relative luminance above 1.0 * Plumb the HDR/SDR ratio into HWC Bug: 236745178 Test: builds Change-Id: I325972a01280d287189d38dd6c5bf7f2d4b776bb
diff --git a/services/surfaceflinger/ScreenCaptureRenderSurface.h b/services/surfaceflinger/ScreenCaptureRenderSurface.h index 2097300..50ba9bf 100644 --- a/services/surfaceflinger/ScreenCaptureRenderSurface.h +++ b/services/surfaceflinger/ScreenCaptureRenderSurface.h
@@ -37,7 +37,7 @@ return mBuffer; } - void queueBuffer(base::unique_fd readyFence) override { + void queueBuffer(base::unique_fd readyFence, float) override { mRenderFence = sp<Fence>::make(readyFence.release()); }