Lines Matching refs:HWC2

56     virtual void registerCallback(HWC2::ComposerCallback* callback, int32_t sequenceId) = 0;
61 virtual bool hasCapability(HWC2::Capability capability) const = 0;
63 HWC2::DisplayCapability capability) const = 0;
70 virtual HWC2::Layer* createLayer(DisplayId displayId) = 0;
72 virtual void destroyLayer(DisplayId displayId, HWC2::Layer* layer) = 0;
109 virtual sp<Fence> getLayerReleaseFence(DisplayId displayId, HWC2::Layer* layer) const = 0;
151 HWC2::Connection connection) = 0;
154 virtual void setVsyncEnabled(DisplayId displayId, HWC2::Vsync enabled) = 0;
160 virtual std::vector<std::shared_ptr<const HWC2::Display::Config>> getConfigs(
163 virtual std::shared_ptr<const HWC2::Display::Config> getActiveConfig(
195 void registerCallback(HWC2::ComposerCallback* callback, int32_t sequenceId) override;
200 bool hasCapability(HWC2::Capability capability) const override;
202 HWC2::DisplayCapability capability) const override;
209 HWC2::Layer* createLayer(DisplayId displayId) override;
211 void destroyLayer(DisplayId displayId, HWC2::Layer* layer) override;
247 sp<Fence> getLayerReleaseFence(DisplayId displayId, HWC2::Layer* layer) const override;
284 HWC2::Connection connection) override;
287 void setVsyncEnabled(DisplayId displayId, HWC2::Vsync enabled) override;
293 std::vector<std::shared_ptr<const HWC2::Display::Config>> getConfigs(
296 std::shared_ptr<const HWC2::Display::Config> getActiveConfig(
329 static void validateChange(HWC2::Composition from, HWC2::Composition to);
335 HWC2::Display* hwcDisplay = nullptr;
336 HWC2::DisplayRequest displayRequests;
338 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences;
342 std::shared_ptr<const HWC2::Display::Config>> configMap;
345 HWC2::Error presentError;
350 HWC2::Vsync vsyncEnabled GUARDED_BY(vsyncEnabledLock) = HWC2::Vsync::Disable;
360 std::unique_ptr<HWC2::Device> mHwcDevice;