Lines Matching refs:Hwc2

58 namespace Hwc2 = android::Hwc2;
62 inline bool hasMetadataKey(const std::set<Hwc2::PerFrameMetadataKey>& keys, in hasMetadataKey()
63 const Hwc2::PerFrameMetadataKey& key) { in hasMetadataKey()
101 Display::Display(android::Hwc2::Composer& composer, in Display()
205 Hwc2::VsyncPeriodNanos vsyncPeriodNanos = 0; in getDisplayVsyncPeriod()
254 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes()
255 std::vector<Hwc2::IComposerClient::Composition> types; in getChangedCompositionTypes()
293 std::vector<Hwc2::PerFrameMetadataKey> tmpKeys = mComposer.getPerFrameMetadataKeys(mId); in getSupportedPerFrameMetadata()
294 std::set<Hwc2::PerFrameMetadataKey> keys(tmpKeys.begin(), tmpKeys.end()); in getSupportedPerFrameMetadata()
300 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_X) && in getSupportedPerFrameMetadata()
301 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_Y) && in getSupportedPerFrameMetadata()
302 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_X) && in getSupportedPerFrameMetadata()
303 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_Y) && in getSupportedPerFrameMetadata()
304 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_X) && in getSupportedPerFrameMetadata()
305 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_Y) && in getSupportedPerFrameMetadata()
306 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::WHITE_POINT_X) && in getSupportedPerFrameMetadata()
307 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::WHITE_POINT_Y) && in getSupportedPerFrameMetadata()
308 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MAX_LUMINANCE) && in getSupportedPerFrameMetadata()
309 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MIN_LUMINANCE)) { in getSupportedPerFrameMetadata()
313 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MAX_CONTENT_LIGHT_LEVEL) && in getSupportedPerFrameMetadata()
314 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MAX_FRAME_AVERAGE_LIGHT_LEVEL)) { in getSupportedPerFrameMetadata()
319 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::HDR10_PLUS_SEI)) { in getSupportedPerFrameMetadata()
357 std::vector<Hwc2::Layer> layerIds; in getRequests()
388 using ConnectionType = Hwc2::IComposerClient::DisplayConnectionType; in getConnectionType()
411 std::vector<Hwc2::Hdr> types; in getHdrCapabilities()
447 std::vector<Hwc2::Layer> layerIds; in getReleaseFences()
502 Hwc2::IComposerClient::VsyncPeriodChangeConstraints hwc2Constraints; in setActiveConfigWithConstraints()
506 Hwc2::VsyncPeriodChangeTimeline vsyncPeriodChangeTimeline = {}; in setActiveConfigWithConstraints()
548 fenceFd, dataspace, std::vector<Hwc2::IComposerClient::Rect>()); in setClientTarget()
575 auto intMode = static_cast<Hwc2::IComposerClient::PowerMode>(mode); in setPowerMode()
580 std::vector<Hwc2::DisplayCapability> tmpCapabilities; in setPowerMode()
605 auto intEnabled = static_cast<Hwc2::IComposerClient::Vsync>(enabled); in setVsyncEnabled()
662 std::vector<Hwc2::IComposerClient::ContentType> tmpSupportedContentTypes; in getSupportedContentTypes()
664 for (Hwc2::IComposerClient::ContentType contentType : tmpSupportedContentTypes) { in getSupportedContentTypes()
754 Layer::Layer(android::Hwc2::Composer& composer, const std::unordered_set<Capability>& capabilities, in Layer()
804 Hwc2::Error intError = Hwc2::Error::NONE; in setSurfaceDamage()
807 mId, std::vector<Hwc2::IComposerClient::Rect>()); in setSurfaceDamage()
812 std::vector<Hwc2::IComposerClient::Rect> hwcRects; in setSurfaceDamage()
860 std::vector<Hwc2::PerFrameMetadata> perFrameMetadatas; in setPerFrameMetadata()
863 {{Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_X, in setPerFrameMetadata()
865 {Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_Y, in setPerFrameMetadata()
867 {Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_X, in setPerFrameMetadata()
869 {Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_Y, in setPerFrameMetadata()
871 {Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_X, in setPerFrameMetadata()
873 {Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_Y, in setPerFrameMetadata()
875 {Hwc2::PerFrameMetadataKey::WHITE_POINT_X, in setPerFrameMetadata()
877 {Hwc2::PerFrameMetadataKey::WHITE_POINT_Y, in setPerFrameMetadata()
879 {Hwc2::PerFrameMetadataKey::MAX_LUMINANCE, in setPerFrameMetadata()
881 {Hwc2::PerFrameMetadataKey::MIN_LUMINANCE, in setPerFrameMetadata()
887 {{Hwc2::PerFrameMetadataKey::MAX_CONTENT_LIGHT_LEVEL, in setPerFrameMetadata()
889 {Hwc2::PerFrameMetadataKey::MAX_FRAME_AVERAGE_LIGHT_LEVEL, in setPerFrameMetadata()
901 std::vector<Hwc2::PerFrameMetadataBlob> perFrameMetadataBlobs; in setPerFrameMetadata()
903 {Hwc2::PerFrameMetadataKey::HDR10_PLUS_SEI, mHdrMetadata.hdr10plus}); in setPerFrameMetadata()
915 Hwc2::IComposerClient::Rect hwcRect{frame.left, frame.top, in setDisplayFrame()
940 Hwc2::IComposerClient::FRect hwcRect{ in setSourceCrop()
948 auto intTransform = static_cast<Hwc2::Transform>(transform); in setTransform()
964 std::vector<Hwc2::IComposerClient::Rect> hwcRects; in setVisibleRegion()