Skip to content

Platform directory refactoring second pass

Motivation:

Platform term meaning used in drm_hwcomposer does not corrspond to the content of the platform directory. Platform directory consists of:

  1. Buffer information getters for different gralloc (currently called platorm).
  2. Composition planner logic (which has flaws and should be reworked into layer->plane mapping during validation stage logic).
  3. DrmGenericImpoter with reference counting logic.

Android-11 IMapper@4 metadata API offers generic way to access buffer information which makes other gralloc buffer information getters obsolate. Legacy getters should be maintained for some time until all known users will migrate to Mapper@4 API.

Edited by Roman Stratiienko

Merge request reports