| 270 | } |
| 271 | |
| 272 | bool ImageBufDisplaySet::has_grid_layout() const { |
| 273 | |
| 274 | // This indicates if the images in a set are all overlaid on each other (e.g. A/B |
| 275 | // compare or Over of Off etc) or whether they have different transforms (e.g. |
| 276 | // grid mode or PiP) |
| 277 | for (int i = 1; i < num_onscreen_images(); ++i) { |
| 278 | if (onscreen_image(i).layout_transform() != onscreen_image(0).layout_transform()) |
| 279 | return true; |
| 280 | } |
| 281 | return false; |
| 282 | } |
| 283 | |
| 284 | |
| 285 | void ImageBufDisplaySet::finalise() { |
no test coverage detected