diff options
Diffstat (limited to 'drmhwcomposer.h')
-rw-r--r-- | drmhwcomposer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drmhwcomposer.h b/drmhwcomposer.h index ce5a04d..f8440fb 100644 --- a/drmhwcomposer.h +++ b/drmhwcomposer.h @@ -150,6 +150,11 @@ struct DrmHwcLayer { int InitFromHwcLayer(hwc_layer_1_t *sf_layer, Importer *importer, const gralloc_module_t *gralloc); + int ImportBuffer(Importer *importer, const gralloc_module_t *gralloc); + + 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; |