Lines Matching defs:current

90     struct ext_transform_t current;     /* current settings */
195 int ext_ovls; /* # of overlays on external display for current composition */
196 int ext_ovls_wanted; /* # of overlays that should be on external display for current composition */
761 m_rotate(ext->m, ext->current.rotation);
762 if (ext->current.hflip)
765 if (ext->current.rotation & 1) {
874 if (!ext->current.docking &&
883 oc->rotation += (oc->mirror ? -1 : 1) * ext->current.rotation;
885 if (ext->current.hflip)
1260 * have to be disabled, and the disabling has to take effect on the current display.
1272 ext->current = ext->mirror;
1273 ext->current.docking = 1;
1275 ext->current = ext->dock;
1286 ext->current = ext->mirror;
1290 ext->current.enabled = 0;
1303 if (!num->protected && hwc_dev->ext_ovls && ext->current.enabled && !ext->current.docking)
1320 int on_tv = hwc_dev->on_tv || (ext->on_tv && ext->current.enabled);
1321 int tform = ext->current.enabled && (ext->current.rotation || ext->current.hflip);
1334 (num->NV12 && ext->current.docking)) &&
1337 /* current hardware can only handle a limited number of 'large' RGB32 layers */
1347 int cloning = ext->current.enabled && (!ext->current.docking || (handle!=NULL ? dockable(layer) : 0));
1349 int tform = cloning && (ext->current.rotation || ext->current.hflip);
1417 if ((ext->current.rotation + o->cfg.rotation) & 1)
1424 if (ext->current.rotation & 1)
1434 ext->current.enabled = 0;
1455 if (ext->current.rotation & 1)
1732 (hwc_dev->ext.current.docking && hwc_dev->ext.current.enabled && dockable(layer))) &&
1736 /* current hardware can only handle a limited number of 'large' RGB32 layers */
1847 if (ext->current.enabled && hwc_dev->ext_ovls) {
1848 if (ext->current.docking && ix_docking >= 0) {
1851 } else if (ext->current.docking && ix_docking < 0 && ext->force_dock) {
1862 } else if (!ext->current.docking) {
1885 ext->last = ext->current;
1907 if (ext->current.enabled || hwc_dev->last_ext_ovls) {
1930 ext->current.enabled ? ext->current.docking ? "dock+" : "mirror+" : "OFF+",
1931 ext->current.rotation * 90,
1932 ext->current.hflip ? "+hflip" : "",
2382 ext->current = ext->mirror;