Lines Matching refs:displayDevice
45 #include "DisplayDevice.h"
172 const sp<const DisplayDevice> hw(mFlinger->getDefaultDisplayDevice());
204 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& /* hw */,
395 FloatRect Layer::computeCrop(const sp<const DisplayDevice>& hw) const {
450 DisplayDevice::getPrimaryDisplayOrientationTransform();
499 void Layer::setGeometry(const sp<const DisplayDevice>& displayDevice)
502 const sp<const DisplayDevice>& hw,
507 const auto hwcId = displayDevice->getHwcDisplayId();
517 if (isSecure() && !displayDevice->isSecure()) {
556 if(!activeCrop.intersect(displayDevice->getViewport(), &activeCrop)) {
588 if (!frame.intersect(displayDevice->getViewport(), &frame)) {
591 const Transform& tr(displayDevice->getTransform());
600 FloatRect sourceCrop = computeCrop(displayDevice);
644 DisplayDevice::getPrimaryDisplayOrientationTransform();
689 void Layer::setPerFrameData(const sp<const DisplayDevice>& displayDevice) {
692 const Transform& tr = displayDevice->getTransform();
693 const auto& viewport = displayDevice->getViewport();
695 auto hwcId = displayDevice->getHwcDisplayId();
772 void Layer::setPerFrameData(const sp<const DisplayDevice>& hw,
796 void Layer::updateCursorPosition(const sp<const DisplayDevice>& displayDevice) {
797 auto hwcId = displayDevice->getHwcDisplayId();
815 frame.intersect(displayDevice->getViewport(), &frame);
819 auto& displayTransform(displayDevice->getTransform());
830 void Layer::setAcquireFence(const sp<const DisplayDevice>& /* hw */,
850 const sp<const DisplayDevice>& hw)
877 void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const {
881 void Layer::draw(const sp<const DisplayDevice>& hw,
886 void Layer::draw(const sp<const DisplayDevice>& hw) const {
890 void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
959 DisplayDevice::getPrimaryDisplayOrientationTransform();
989 void Layer::clearWithOpenGL(const sp<const DisplayDevice>& hw,
1000 const sp<const DisplayDevice>& hw, const Region& clip) const {
1004 void Layer::drawWithOpenGL(const sp<const DisplayDevice>& hw,
1081 if (hwcId == DisplayDevice::DISPLAY_ID_INVALID) {
1226 void Layer::computeGeometry(const sp<const DisplayDevice>& hw, Mesh& mesh,
1302 bool Layer::needsFiltering(const sp<const DisplayDevice>& hw) const {
2163 void Layer::updateTransformHint(const sp<const DisplayDevice>& hw) const {