SF Bounds caching 1/3: Defer calls that use layer bounds until the cached bounds are available.
End goal is to calculate the bounds once in the surface flinger loop. The bounds are invalidated if the visible region changes. The first step is to defer any functions that use the cache to after the bounds is calculated. - Defer updating display dirty region when latching buffers. - Defer updating cursor and input flinger until all the buffers have been latched. - Recompute visible regions if transformToDisplayInverse flag changes Test: go/wm-smoke Test: atest -a libinput_tests inputflinger_tests SurfaceFlinger_test libsurfaceflinger_unittest SurfaceParcelable_test libgui_test Change-Id: Ife6e0f06939d9f4fb051b68cb2b1c9f5bd180b57
Loading
Please register or sign in to comment