aboutsummaryrefslogtreecommitdiff
path: root/include/drmhwcomposer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drmhwcomposer.h')
-rw-r--r--include/drmhwcomposer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drmhwcomposer.h b/include/drmhwcomposer.h
index 0706ae5..a04cc29 100644
--- a/include/drmhwcomposer.h
+++ b/include/drmhwcomposer.h
@@ -136,6 +136,7 @@ struct DrmHwcLayer {
uint16_t alpha = 0xffff;
hwc_frect_t source_crop;
hwc_rect_t display_frame;
+ android_dataspace_t dataspace;
UniqueFd acquire_fence;
OutputFd release_fence;
@@ -144,8 +145,6 @@ struct DrmHwcLayer {
int InitFromDrmHwcLayer(DrmHwcLayer *layer, Importer *importer);
void SetTransform(int32_t sf_transform);
- void SetSourceCrop(hwc_frect_t const &crop);
- void SetDisplayFrame(hwc_rect_t const &frame);
buffer_handle_t get_usable_handle() const {
return handle.get() != NULL ? handle.get() : sf_handle;