Skip to content
Commit 8e0e7599 authored by Chao Guo's avatar Chao Guo Committed by Daniel Stone
Browse files

compositor: improve viewport source validity check



If client changes the buffer transform or size and re-commit the surface
before surface dirtys buffer (weston_surface_attach), the viewport
source validity check may fail. Because the width_from_buffer and
height_from_buffer cannot be updated based on new buffer transform.

Therefore, add the situation of size dirty (WESTON_SURFACE_DIRTY_SIZE) to
source validity check, width_from_buffer and height_from_buffer can be
updated in time when the buffer transform and scale change.

Signed-off-by: default avatarChao Guo <chao.guo@nxp.com>
parent b288e662
Loading
Loading
Loading
Pipeline #1076544 passed with stages
in 4 minutes and 32 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment