DrmHwc holds implementation details that can be shared between hwc2 and hwc3. It exposes abstract functions for implementing callbacks to hwc clients. Leave the HWC2 specific implementation details in the DrmHwcTwo class, such as the client callback implementation, and implement the DrmHwc abstract functions in terms of hwc2. DrmHwc is based on the DrmHwcInterface extracted in (drm_hwcomposer: Connect ComposerClient with HwcDisplay) from !238 Co-authored-by: Dennis Tsiang <dennis.tsiang@arm.com> Co-authored-by: Normunds Rieksts <normunds.rieksts@arm.com> Signed-off-by: Drew Davenport <ddavenport@chromium.org>
16 lines
353 B
Meson
16 lines
353 B
Meson
src_common += files(
|
|
'DrmAtomicStateManager.cpp',
|
|
'DrmConnector.cpp',
|
|
'DrmCrtc.cpp',
|
|
'DrmDevice.cpp',
|
|
'DrmDisplayPipeline.cpp',
|
|
'DrmEncoder.cpp',
|
|
'DrmFbImporter.cpp',
|
|
'DrmHwc.cpp',
|
|
'DrmMode.cpp',
|
|
'DrmPlane.cpp',
|
|
'DrmProperty.cpp',
|
|
'ResourceManager.cpp',
|
|
'UEventListener.cpp',
|
|
'VSyncWorker.cpp',
|
|
)
|