summaryrefslogtreecommitdiff
path: root/drmdisplaycomposition.cpp
diff options
context:
space:
mode:
authorHaixia Shi <hshi@chromium.org>2015-11-02 10:54:29 -0800
committerHaixia Shi <hshi@chromium.org>2015-11-02 11:04:48 -0800
commitaa2f4a5eec7f4117b9487a415739634007254822 (patch)
treefbc149dfc88bfdc8708636278f42da932ed5e734 /drmdisplaycomposition.cpp
parentf3d360328e724c908827716d442c226e3128ff5a (diff)
downloaddrm_hwcomposer-aa2f4a5eec7f4117b9487a415739634007254822.tar.gz
drm_hwcomposer-aa2f4a5eec7f4117b9487a415739634007254822.tar.xz
drm_hwcomposer: fix spelling of "separate".
It is spelled "separate", not "seperate". Change-Id: Id92d12aba42989a8a72e4596d425b2a9eea4e5ec
Diffstat (limited to 'drmdisplaycomposition.cpp')
-rw-r--r--drmdisplaycomposition.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/drmdisplaycomposition.cpp b/drmdisplaycomposition.cpp
index 34d879e..e712b64 100644
--- a/drmdisplaycomposition.cpp
+++ b/drmdisplaycomposition.cpp
@@ -191,11 +191,11 @@ static void SeparateLayers(DrmHwcLayer *layers, size_t *used_layers,
layer_rects.begin() + num_exclude_rects,
[=](size_t layer_index) { return layers[layer_index].display_frame; });
- std::vector<seperate_rects::RectSet<uint64_t, int>> seperate_regions;
- seperate_rects::seperate_rects_64(layer_rects, &seperate_regions);
+ std::vector<separate_rects::RectSet<uint64_t, int>> separate_regions;
+ separate_rects::separate_rects_64(layer_rects, &separate_regions);
uint64_t exclude_mask = ((uint64_t)1 << num_exclude_rects) - 1;
- for (seperate_rects::RectSet<uint64_t, int> &region : seperate_regions) {
+ for (separate_rects::RectSet<uint64_t, int> &region : separate_regions) {
if (region.id_set.getBits() & exclude_mask)
continue;
regions.emplace_back(DrmCompositionRegion{