Lines Matching refs:hwcLayer
38 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()
158 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer) in isBlendingSupported() argument
160 uint32_t blending = (uint32_t)hwcLayer->getLayer()->blending; in isBlendingSupported()
161 uint8_t planeAlpha = hwcLayer->getLayer()->planeAlpha; in isBlendingSupported()
184 bool PlaneCapabilities::isScalingSupported(int planeType, HwcLayer *hwcLayer) in isScalingSupported() argument
186 hwc_frect_t& src = hwcLayer->getLayer()->sourceCropf; in isScalingSupported()
187 hwc_rect_t& dest = hwcLayer->getLayer()->displayFrame; in isScalingSupported()
188 uint32_t trans = hwcLayer->getLayer()->transform; in isScalingSupported()
205 uint32_t format = hwcLayer->getFormat(); in isScalingSupported()
228 if (!hwcLayer->isProtected()) { in isScalingSupported()
257 bool PlaneCapabilities::isTransformSupported(int planeType, HwcLayer *hwcLayer) in isTransformSupported() argument
259 uint32_t trans = hwcLayer->getLayer()->transform; in isTransformSupported()