summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorSushil Chauhan <sushilchauhan@codeaurora.org>2019-12-11 10:54:26 -0800
committerSushil Chauhan <sushilchauhan@codeaurora.org>2019-12-11 11:09:46 -0800
commit399503f3a5a4be755cc8578b7a8de49c7e8fd956 (patch)
tree764af3a22bad45efa6a65f332011f280beb5bfb1 /rs/java/android/renderscript/Program.java
parent445dce065f807f3a0f92840835ea71f2591de93f (diff)
hwui: Relax the desiredPresent time in RenderAhead feature
During SW Vsync re-sync phase, the expectedPresent time slightly exceeds desiredPresent time due to slight drift in HW Vsync samples which leads to dropping of this buffer by BufferQueueConsumer. This leads to buffer scarcity, as that buffer is meant to be consumed in the next draw cycle. When RenderAhead feature is enabled, relax the desiredPresent time by accounting Vsync period and App Vsync Offset to avoid this buffer drop during the re-sync phase. CRs-Fixed: 2551814 Change-Id: Ifd512c7b56c7e100970d39d67105cfb7b79b9fb9
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions