Home
last modified time | relevance | path

Searched refs:hwcLayer (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayerList.cpp48 bool HwcLayerList::checkSupported(int planeType, HwcLayer *hwcLayer) in checkSupported() argument
51 hwc_layer_1_t& layer = *(hwcLayer->getLayer()); in checkSupported()
54 if (hwcLayer->getType() == HwcLayer::LAYER_FORCE_FB) { in checkSupported()
71 if (!(hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER)) { in checkSupported()
77 valid = PlaneCapabilities::isTransformSupported(planeType, hwcLayer); in checkSupported()
84 valid = PlaneCapabilities::isFormatSupported(planeType, hwcLayer); in checkSupported()
91 valid = PlaneCapabilities::isSizeSupported(planeType, hwcLayer); in checkSupported()
98 valid = PlaneCapabilities::isBlendingSupported(planeType, hwcLayer); in checkSupported()
105 valid = PlaneCapabilities::isScalingSupported(planeType, hwcLayer); in checkSupported()
115 bool HwcLayerList::checkRgbOverlaySupported(HwcLayer *hwcLayer) in checkRgbOverlaySupported() argument
[all …]
DHwcLayerList.h52 bool checkSupported(int planeType, HwcLayer *hwcLayer);
53 bool checkRgbOverlaySupported(HwcLayer *hwcLayer);
54 bool checkCursorSupported(HwcLayer *hwcLayer);
63 bool assignPrimaryPlaneHelper(HwcLayer *hwcLayer, int zorder = -1);
67 ZOrderLayer* addZOrderLayer(int type, HwcLayer *hwcLayer, int zorder = -1);
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcLayerList.cpp49 bool HwcLayerList::checkSupported(int planeType, HwcLayer *hwcLayer) in checkSupported() argument
52 hwc_layer_1_t& layer = *(hwcLayer->getLayer()); in checkSupported()
55 if (hwcLayer->getType() == HwcLayer::LAYER_FORCE_FB) { in checkSupported()
72 if (!hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER) { in checkSupported()
78 valid = PlaneCapabilities::isTransformSupported(planeType, hwcLayer); in checkSupported()
85 valid = PlaneCapabilities::isFormatSupported(planeType, hwcLayer); in checkSupported()
92 valid = PlaneCapabilities::isSizeSupported(planeType, hwcLayer); in checkSupported()
99 valid = PlaneCapabilities::isBlendingSupported(planeType, hwcLayer); in checkSupported()
106 valid = PlaneCapabilities::isScalingSupported(planeType, hwcLayer); in checkSupported()
116 bool HwcLayerList::checkCursorSupported(HwcLayer *hwcLayer) in checkCursorSupported() argument
[all …]
DHwcLayerList.h49 bool checkSupported(int planeType, HwcLayer *hwcLayer);
50 bool checkCursorSupported(HwcLayer *hwcLayer);
59 bool assignPrimaryPlaneHelper(HwcLayer *hwcLayer, int zorder = -1);
63 void addStaticLayerSize(HwcLayer *hwcLayer);
65 ZOrderLayer* addZOrderLayer(int type, HwcLayer *hwcLayer, int zorder = -1);
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DPlaneCapabilities.cpp38 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer) in isFormatSupported() argument
40 uint32_t format = hwcLayer->getFormat(); in isFormatSupported()
41 uint32_t trans = hwcLayer->getLayer()->transform; in isFormatSupported()
80 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer) in isSizeSupported() argument
82 uint32_t format = hwcLayer->getFormat(); in isSizeSupported()
83 uint32_t w = hwcLayer->getBufferWidth(); in isSizeSupported()
84 uint32_t h = hwcLayer->getBufferHeight(); in isSizeSupported()
85 const stride_t& stride = hwcLayer->getBufferStride(); in isSizeSupported()
135 hwc_frect_t& srcCrop = hwcLayer->getLayer()->sourceCropf; in isSizeSupported()
145 if (!hwcLayer->isProtected()) { in isSizeSupported()
[all …]
DAnnPlaneManager.cpp363 config[i]->hwcLayer->getTransform() != 0) { in assignPlanes()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DPlaneCapabilities.cpp36 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer) in isFormatSupported() argument
38 uint32_t format = hwcLayer->getFormat(); in isFormatSupported()
39 uint32_t trans = hwcLayer->getLayer()->transform; in isFormatSupported()
79 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer) in isSizeSupported() argument
81 uint32_t format = hwcLayer->getFormat(); in isSizeSupported()
82 uint32_t w = hwcLayer->getBufferWidth(); in isSizeSupported()
83 uint32_t h = hwcLayer->getBufferHeight(); in isSizeSupported()
84 const stride_t& stride = hwcLayer->getBufferStride(); in isSizeSupported()
139 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer) in isBlendingSupported() argument
141 uint32_t blending = (uint32_t)hwcLayer->getLayer()->blending; in isBlendingSupported()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DPlaneCapabilities.cpp37 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer) in isFormatSupported() argument
39 uint32_t format = hwcLayer->getFormat(); in isFormatSupported()
40 uint32_t trans = hwcLayer->getLayer()->transform; in isFormatSupported()
80 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer) in isSizeSupported() argument
82 uint32_t format = hwcLayer->getFormat(); in isSizeSupported()
83 const stride_t& stride = hwcLayer->getBufferStride(); in isSizeSupported()
139 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer) in isBlendingSupported() argument
141 uint32_t blending = (uint32_t)hwcLayer->getLayer()->blending; in isBlendingSupported()
164 bool PlaneCapabilities::isScalingSupported(int planeType, HwcLayer *hwcLayer) in isScalingSupported() argument
166 hwc_frect_t& src = hwcLayer->getLayer()->sourceCropf; in isScalingSupported()
[all …]
DAnnPlaneManager.cpp328 config[i]->hwcLayer->getTransform() != 0) { in assignPlanes()
/hardware/intel/img/hwcomposer/merrifield/include/
DPlaneCapabilities.h28 static bool isFormatSupported(int planeType, HwcLayer *hwcLayer);
29 static bool isSizeSupported(int planeType, HwcLayer *hwcLayer);
30 static bool isBlendingSupported(int planeType, HwcLayer *hwcLayer);
31 static bool isScalingSupported(int planeType, HwcLayer *hwcLayer);
32 static bool isTransformSupported(int planeType, HwcLayer *hwcLayer);
DDisplayPlaneManager.h40 HwcLayer *hwcLayer; member
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DPlaneCapabilities.h28 static bool isFormatSupported(int planeType, HwcLayer *hwcLayer);
29 static bool isSizeSupported(int planeType, HwcLayer *hwcLayer);
30 static bool isBlendingSupported(int planeType, HwcLayer *hwcLayer);
31 static bool isScalingSupported(int planeType, HwcLayer *hwcLayer);
32 static bool isTransformSupported(int planeType, HwcLayer *hwcLayer);
DDisplayPlaneManager.h40 HwcLayer *hwcLayer; member
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp1530 static std::string to_string(const hwc_layer_1_t& hwcLayer, in to_string() argument
1538 hwc1CompositionString(hwcLayer.compositionType); in to_string()
1540 if (hwcLayer.compositionType == HWC_BACKGROUND) { in to_string()
1541 output << " Color: " << colorString(hwcLayer.backgroundColor) << '\n'; in to_string()
1542 } else if (hwcLayer.compositionType == HWC_SIDEBAND) { in to_string()
1543 output << " Stream: " << hwcLayer.sidebandStream << '\n'; in to_string()
1545 output << " Buffer: " << hwcLayer.handle << "/" << in to_string()
1546 hwcLayer.acquireFenceFd << '\n'; in to_string()
1549 output << fill << "Display frame: " << rectString(hwcLayer.displayFrame) << in to_string()
1554 output << frectString(hwcLayer.sourceCropf) << '\n'; in to_string()
[all …]