Commit 410fe79
committed
Fix remote decoration drawing on OpenGL
On Qt 6.8 enabling the "decorate target" button doesn't do anything.
If we have to inject custom GL commands, we have to inform QtQuick
that we're doing so, so wrap our after-rendering screengrab and overlay
drawing in the appropriate calls.
Also, apparently can only be done while a pass is being recorded, so
switch the connect() from afterRendering (pass has been recorded and
finished, but not submitted) to afterRenderPassRecording (QQ2 has
drawn itself but the pass is still active).1 parent 9ced559 commit 410fe79
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | | - | |
571 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
572 | 582 | | |
573 | 583 | | |
574 | 584 | | |
| |||
609 | 619 | | |
610 | 620 | | |
611 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
612 | 626 | | |
613 | 627 | | |
614 | 628 | | |
| |||
695 | 709 | | |
696 | 710 | | |
697 | 711 | | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
698 | 716 | | |
699 | 717 | | |
700 | 718 | | |
| |||
0 commit comments