diff options
author | achaulk <achaulk@chromium.org> | 2015-06-23 12:05:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-23 19:06:22 +0000 |
commit | 576373cb15176c9fecc1b85c27966cb7defa6636 (patch) | |
tree | 62e3b0943cefaa700cd4cd4ef73e87ac77a7e7e4 | |
parent | 524ea7dab551b07bd2a71cb29d4655651b93dd5c (diff) | |
download | chromium_src-576373cb15176c9fecc1b85c27966cb7defa6636.zip chromium_src-576373cb15176c9fecc1b85c27966cb7defa6636.tar.gz chromium_src-576373cb15176c9fecc1b85c27966cb7defa6636.tar.bz2 |
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}
-rw-r--r-- | ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |