From 576373cb15176c9fecc1b85c27966cb7defa6636 Mon Sep 17 00:00:00 2001 From: achaulk Date: Tue, 23 Jun 2015 12:05:55 -0700 Subject: ozone: Reallocate atomic property set The library doesn't clear the existing set for us, so we start fresh each frame BUG=485571 Committed: https://crrev.com/23171db9366c6e9b3a926ccc558c3bd001f0852e Cr-Commit-Position: refs/heads/master@{#335685} Review URL: https://codereview.chromium.org/1206513005 Cr-Commit-Position: refs/heads/master@{#335723} --- ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc index 29ed57e..9ee6948 100644 --- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc +++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc @@ -70,6 +70,7 @@ bool HardwareDisplayPlaneManagerAtomic::Commit( PLOG(ERROR) << "Failed to commit properties"; return false; } + plane_list->atomic_property_set.reset(drmModePropertySetAlloc()); return true; } -- cgit v1.1