diff options
author | Sean Paul <seanpaul@chromium.org> | 2017-02-28 13:17:34 -0500 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-09-28 18:31:57 +0200 |
commit | ed45a8eb01d5927e36e34acd7bac46abbbecb304 (patch) | |
tree | 7ab7a00d92ab70310dbd63d4bf550472149f4056 /drmresources.h | |
parent | a1ade4e404430fc8d880f160cb8acf2c874b431f (diff) |
drm_hwcomposer: Remove threading
Since HWC2 doesn't require the use of threads to implement correct
synchronization, remove some of these threads.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Diffstat (limited to 'drmresources.h')
-rw-r--r-- | drmresources.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drmresources.h b/drmresources.h index 5cca11b..4cca48c 100644 --- a/drmresources.h +++ b/drmresources.h @@ -17,7 +17,6 @@ #ifndef ANDROID_DRM_H_ #define ANDROID_DRM_H_ -#include "drmcompositor.h" #include "drmconnector.h" #include "drmcrtc.h" #include "drmencoder.h" @@ -58,7 +57,6 @@ class DrmResources { DrmConnector *GetConnectorForDisplay(int display) const; DrmCrtc *GetCrtcForDisplay(int display) const; DrmPlane *GetPlane(uint32_t id) const; - DrmCompositor *compositor(); DrmEventListener *event_listener(); int GetPlaneProperty(const DrmPlane &plane, const char *prop_name, @@ -70,8 +68,6 @@ class DrmResources { const std::vector<std::unique_ptr<DrmCrtc>> &crtcs() const; uint32_t next_mode_id(); - int SetDisplayActiveMode(int display, const DrmMode &mode); - int SetDpmsMode(int display, uint64_t mode); int CreatePropertyBlob(void *data, size_t length, uint32_t *blob_id); int DestroyPropertyBlob(uint32_t blob_id); @@ -90,7 +86,6 @@ class DrmResources { std::vector<std::unique_ptr<DrmEncoder>> encoders_; std::vector<std::unique_ptr<DrmCrtc>> crtcs_; std::vector<std::unique_ptr<DrmPlane>> planes_; - DrmCompositor compositor_; DrmEventListener event_listener_; std::pair<uint32_t, uint32_t> min_resolution_; |