drm_hwcomposer: Remove unused cursor_{x,y}_ and layer_color_ variables
Make it clear that drm_hwcomposer doesn't handle these values.
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
diff --git a/DrmHwcTwo.h b/DrmHwcTwo.h
index bd45b96..2055b7b 100644
--- a/DrmHwcTwo.h
+++ b/DrmHwcTwo.h
@@ -102,10 +102,10 @@
}
// Layer hooks
- HWC2::Error SetCursorPosition(int32_t x, int32_t y);
+ HWC2::Error SetCursorPosition(int32_t /*x*/, int32_t /*y*/);
HWC2::Error SetLayerBlendMode(int32_t mode);
HWC2::Error SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence);
- HWC2::Error SetLayerColor(hwc_color_t color);
+ HWC2::Error SetLayerColor(hwc_color_t /*color*/);
HWC2::Error SetLayerCompositionType(int32_t type);
HWC2::Error SetLayerDataspace(int32_t dataspace);
HWC2::Error SetLayerDisplayFrame(hwc_rect_t frame);
@@ -137,9 +137,6 @@
hwc_rect_t display_frame_;
float alpha_ = 1.0f;
hwc_frect_t source_crop_;
- int32_t cursor_x_;
- int32_t cursor_y_;
- hwc_color_t layer_color_;
DrmHwcTransform transform_ = DrmHwcTransform::kIdentity;
uint32_t z_order_ = 0;
DrmHwcBlending blending_ = DrmHwcBlending::kNone;