summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Shuangxi Xiang <xiangshuangxi@xiaomi.corp-partner.google.com> 2025-02-12 03:39:54 -0800
committer Shuangxi Xiang <xiangshuangxi@xiaomi.corp-partner.google.com> 2025-02-12 03:40:44 -0800
commita576ccd2e572fead186fefdcc93f36960004461c (patch)
treecdf4032714211db01a1efbc0156b773a98f723d9 /libs/gui/SurfaceControl.cpp
parentc8ca54a3fa4c989489546fe919bb93295928ff9d (diff)
Unify the types of two NumFrame variables and Code Optimization
1.For code portability and stability, it is recommended to define both variables as int32_t so that the sizes of the two variables are fixed regardless of the platform. 2.The two variables mNumAcquired and mNumFrameAvailable are initialized to 0 when declared in the header file. It is recommended to remove the re-initialization of these two values in the BBQ constructor of the source file. Signed-off-by: Shuangxi Xiang <xiangshuangxi@xiaomi.corp-partner.google.com> Change-Id: I7cb525e62d1005b2a67cceb8e3efe0e3236506db
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions