• Home
  • Raw
  • Download

Lines Matching refs:Hwc2

50 namespace Hwc2 = android::Hwc2;
58 inline bool hasMetadataKey(const std::set<Hwc2::PerFrameMetadataKey>& keys, in hasMetadataKey()
59 const Hwc2::PerFrameMetadataKey& key) { in hasMetadataKey()
63 class ComposerCallbackBridge : public Hwc2::IComposerCallback {
68 Return<void> onHotplug(Hwc2::Display display, in onHotplug()
76 Return<void> onRefresh(Hwc2::Display display) override in onRefresh()
82 Return<void> onVsync(Hwc2::Display display, int64_t timestamp) override in onVsync()
98 Device::Device(std::unique_ptr<android::Hwc2::Composer> composer) : mComposer(std::move(composer)) { in Device()
174 reinterpret_cast<Hwc2::IComposerClient::DisplayType *>( in onHotplug()
256 Display::Display(android::Hwc2::Composer& composer, in Display()
371 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes()
372 std::vector<Hwc2::IComposerClient::Composition> types; in getChangedCompositionTypes()
410 std::vector<Hwc2::PerFrameMetadataKey> tmpKeys = mComposer.getPerFrameMetadataKeys(mId); in getSupportedPerFrameMetadata()
411 std::set<Hwc2::PerFrameMetadataKey> keys(tmpKeys.begin(), tmpKeys.end()); in getSupportedPerFrameMetadata()
417 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_X) && in getSupportedPerFrameMetadata()
418 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_Y) && in getSupportedPerFrameMetadata()
419 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_X) && in getSupportedPerFrameMetadata()
420 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_Y) && in getSupportedPerFrameMetadata()
421 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_X) && in getSupportedPerFrameMetadata()
422 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_Y) && in getSupportedPerFrameMetadata()
423 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::WHITE_POINT_X) && in getSupportedPerFrameMetadata()
424 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::WHITE_POINT_Y) && in getSupportedPerFrameMetadata()
425 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MAX_LUMINANCE) && in getSupportedPerFrameMetadata()
426 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MIN_LUMINANCE)) { in getSupportedPerFrameMetadata()
430 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MAX_CONTENT_LIGHT_LEVEL) && in getSupportedPerFrameMetadata()
431 hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::MAX_FRAME_AVERAGE_LIGHT_LEVEL)) { in getSupportedPerFrameMetadata()
436 if (hasMetadataKey(keys, Hwc2::PerFrameMetadataKey::HDR10_PLUS_SEI)) { in getSupportedPerFrameMetadata()
474 std::vector<Hwc2::Layer> layerIds; in getRequests()
518 std::vector<Hwc2::Hdr> types; in getHdrCapabilities()
554 std::vector<Hwc2::Layer> layerIds; in getReleaseFences()
615 fenceFd, dataspace, std::vector<Hwc2::IComposerClient::Rect>()); in setClientTarget()
629 matrix.asArray(), static_cast<Hwc2::ColorTransform>(hint)); in setColorTransform()
645 auto intMode = static_cast<Hwc2::IComposerClient::PowerMode>(mode); in setPowerMode()
650 std::vector<Hwc2::DisplayCapability> tmpCapabilities; in setPowerMode()
675 auto intEnabled = static_cast<Hwc2::IComposerClient::Vsync>(enabled); in setVsyncEnabled()
740 static_cast<Hwc2::IComposerClient::Attribute>(attribute), in getAttribute()
770 std::vector<Hwc2::Config> configIds; in loadConfigs()
801 Layer::Layer(android::Hwc2::Composer& composer, const std::unordered_set<Capability>& capabilities, in Layer()
851 Hwc2::Error intError = Hwc2::Error::NONE; in setSurfaceDamage()
854 mId, std::vector<Hwc2::IComposerClient::Rect>()); in setSurfaceDamage()
859 std::vector<Hwc2::IComposerClient::Rect> hwcRects; in setSurfaceDamage()
873 auto intMode = static_cast<Hwc2::IComposerClient::BlendMode>(mode); in setBlendMode()
880 Hwc2::IComposerClient::Color hwcColor{color.r, color.g, color.b, color.a}; in setColor()
887 auto intType = static_cast<Hwc2::IComposerClient::Composition>(type); in setCompositionType()
912 std::vector<Hwc2::PerFrameMetadata> perFrameMetadatas; in setPerFrameMetadata()
915 {{Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_X, in setPerFrameMetadata()
917 {Hwc2::PerFrameMetadataKey::DISPLAY_RED_PRIMARY_Y, in setPerFrameMetadata()
919 {Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_X, in setPerFrameMetadata()
921 {Hwc2::PerFrameMetadataKey::DISPLAY_GREEN_PRIMARY_Y, in setPerFrameMetadata()
923 {Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_X, in setPerFrameMetadata()
925 {Hwc2::PerFrameMetadataKey::DISPLAY_BLUE_PRIMARY_Y, in setPerFrameMetadata()
927 {Hwc2::PerFrameMetadataKey::WHITE_POINT_X, in setPerFrameMetadata()
929 {Hwc2::PerFrameMetadataKey::WHITE_POINT_Y, in setPerFrameMetadata()
931 {Hwc2::PerFrameMetadataKey::MAX_LUMINANCE, in setPerFrameMetadata()
933 {Hwc2::PerFrameMetadataKey::MIN_LUMINANCE, in setPerFrameMetadata()
939 {{Hwc2::PerFrameMetadataKey::MAX_CONTENT_LIGHT_LEVEL, in setPerFrameMetadata()
941 {Hwc2::PerFrameMetadataKey::MAX_FRAME_AVERAGE_LIGHT_LEVEL, in setPerFrameMetadata()
949 std::vector<Hwc2::PerFrameMetadataBlob> perFrameMetadataBlobs; in setPerFrameMetadata()
951 {Hwc2::PerFrameMetadataKey::HDR10_PLUS_SEI, mHdrMetadata.hdr10plus}); in setPerFrameMetadata()
963 Hwc2::IComposerClient::Rect hwcRect{frame.left, frame.top, in setDisplayFrame()
988 Hwc2::IComposerClient::FRect hwcRect{ in setSourceCrop()
996 auto intTransform = static_cast<Hwc2::Transform>(transform); in setTransform()
1012 std::vector<Hwc2::IComposerClient::Rect> hwcRects; in setVisibleRegion()