Searched defs:HWC2 (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h24 #include "HWC2.h"
49 namespace HWC2 { namespace
84 bool hasCapability(HWC2::Capability capability) const;
92 std::shared_ptr<HWC2::Layer> createLayer(int32_t displayId);
127 const std::shared_ptr<HWC2::Layer>& layer) const;
143 void setVsyncEnabled(int32_t disp, HWC2::Vsync enabled);
151 std::vector<std::shared_ptr<const HWC2::Display::Config>>
154 std::shared_ptr<const HWC2::Display::Config>
170 static void validateChange(HWC2::Composition from, HWC2
[all...]
H A DHWC2.cpp20 #define LOG_TAG "HWC2"
23 #include "HWC2.h"
39 auto device = static_cast<HWC2::Device*>(callbackData);
42 auto connected = static_cast<HWC2::Connection>(intConnected);
52 auto device = static_cast<HWC2::Device*>(callbackData);
64 auto device = static_cast<HWC2::Device*>(callbackData);
83 namespace HWC2 { namespace
159 DisplayType displayType = HWC2::DisplayType::Invalid;
168 if (displayType == HWC2::DisplayType::Physical) {
169 error = display->setVsyncEnabled(HWC2
[all...]
H A DHWC2.h47 namespace HWC2 { namespace
63 friend class HWC2::Display;
64 friend class HWC2::Layer;
66 // Required by HWC2
96 bool hasCapability(HWC2::Capability capability) const;
203 friend class HWC2::Device;
204 friend class HWC2::Layer;
275 // Required by HWC2
287 // Doesn't call into the HWC2 device, so no errors are possible
397 } // namespace HWC2
[all...]

Completed in 8 milliseconds