1
0
Fork 0
android_external_drm_hwcomp.../bufferinfo
Roman Stratiienko 4b2cc484f9 drm_hwcomposer: Reorganize struct DrmHwcLayer
1. Move BlendMode, ColorSpace, SampleRange fields to the struct BufferInfo,
   allowing extraction of the data from native_handle using Metadata@4 API.
   Use it when data from HWC2 API can't be used (Currently it's a BlendMode
   case for CLIENT layer)

2. Rename DrmHwcLayer to LayerData and move it to compositor/ directory.
   (I was confused in the past because of similarity of names DrmHwcLayer
    vs HwcLayer, so this step should meke it easier for newcomers to
    understand the code)

3. Allow clonning of the LayerData to propagate it through the composition
   pipeline. Thus LayerData can be used by both HwcLayer to track state
   and by the compositor.

Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
2022-05-17 11:20:44 +03:00
..
legacy drm_hwcomposer: Set return type to std::optional for BufferInfoGetters 2022-05-17 10:35:29 +03:00
BufferInfo.h drm_hwcomposer: Reorganize struct DrmHwcLayer 2022-05-17 11:20:44 +03:00
BufferInfoGetter.cpp drm_hwcomposer: Reorganize struct DrmHwcLayer 2022-05-17 11:20:44 +03:00
BufferInfoGetter.h drm_hwcomposer: Reorganize struct DrmHwcLayer 2022-05-17 11:20:44 +03:00
BufferInfoMapperMetadata.cpp drm_hwcomposer: Set return type to std::optional for BufferInfoGetters 2022-05-17 10:35:29 +03:00
BufferInfoMapperMetadata.h drm_hwcomposer: Set return type to std::optional for BufferInfoGetters 2022-05-17 10:35:29 +03:00