1
0
Fork 0

Cleanup includes in backend/ per IWYU style

Change-Id: I2a0d38bc92b3d9544b3954d4047d5ea8a34ef0bf
This commit is contained in:
Andrew Wolfers 2025-11-11 18:13:02 +00:00
parent e45aaa0bb6
commit e76c0c751d
5 changed files with 14 additions and 5 deletions

View file

@ -18,7 +18,9 @@
#include "BackendManager.h" #include "BackendManager.h"
#include "hwc/HwcDisplay.h" #include "drm/DrmConnector.h"
#include "drm/DrmDevice.h"
#include "drm/DrmDisplayPipeline.h"
#include "utils/log.h" #include "utils/log.h"
#include "utils/properties.h" #include "utils/properties.h"

View file

@ -21,10 +21,11 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "compositor/CompositionPlanner.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {
class DrmConnector;
struct DrmDisplayPipeline;
// BackendManager is a singleton that manages the registration of Backends and // BackendManager is a singleton that manages the registration of Backends and
// finding a Backend which can be used to create a DrmDisplayPipeline for a // finding a Backend which can be used to create a DrmDisplayPipeline for a
// DrmConnector. // DrmConnector.

View file

@ -15,7 +15,7 @@
*/ */
#include "backend/GenericBackend.h" #include "backend/GenericBackend.h"
#include "compositor/GenericCompositionPlanner.h" #include "compositor/CompositionPlanner.h"
#include "hwc/HwcDisplay.h" #include "hwc/HwcDisplay.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -14,9 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
#include "backend/GenericBackend.h" #include "GenericBackend.h"
#include "backend/BackendManager.h"
#include "compositor/CompositionPlanner.h"
#include "compositor/GenericCompositionPlanner.h" #include "compositor/GenericCompositionPlanner.h"
#include "drm/DrmConnector.h"
#include "drm/DrmDisplayPipeline.h" #include "drm/DrmDisplayPipeline.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -21,6 +21,9 @@
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {
class DrmConnector;
struct DrmDisplayPipeline;
// Implement the Backend interface on top of upstream drm uAPI. // Implement the Backend interface on top of upstream drm uAPI.
class GenericBackend : public BackendManager::Backend { class GenericBackend : public BackendManager::Backend {
public: public: