[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Drawing stuff on particular output and ignore randr overlayed screens
From:       Marcin K <marcin.koziol () outi ! pl>
Date:       2020-04-08 9:23:42
Message-ID: CADpnqDzRaFz+65Y1YTXGNAeWqSS11T55uuLXx=tX+mBvEsXcrg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello!

My goal is to create some set of tools to setup projection using multiple
projectors and edge blending. It is quite easy when it comes to write a
standalone application (using opengl etc) that is able to "know" the amount
of overlapping pixels and draw some transparent gradients on suitable edges
etc, but I want to have this feature system-wide, I mean - I want to be
able to run regular desktop environment using few projectors with software
edge blending. So, for example, I have two 1920x1200 projectors, lying next
to each other with, for example 100px overlap. In that case, I need to
setup xrandr like this:

eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis
y axis) 309mm x 174mm
HDMI-1-2 connected 1920x1080+1820+0 (normal left inverted right x axis y
axis) 521mm x 293mm

so the HDMI-1-2 is shifted -100px to the left and xorg is displaying same
100px from right part of left output on left part of right output. Thats
great and amazing, and in some cases it would be enough but not every
projector has the edge blending feature, so my idea is to do that using
software - just "simply" draw 100px gradient on right side of left output
and similar but horizontally flipped on left side of right output. And
thats the question - is it possible to draw only on practicular OUTPUT so
even if part of the image is duplicated on another output due to randr
settigs, that overlay will be displayed only on selected monitor?

regards

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hello!</div><div><br></div><div>My goal is to create some set of 
tools to setup projection using multiple projectors and edge blending. 
It is quite easy when it comes to write a standalone application (using 
opengl etc) that is able to &quot;know&quot; the amount of overlapping pixels and 
draw some transparent gradients on suitable edges etc, but I want to 
have this feature system-wide, I mean - I want to be able to run regular
 desktop environment using few projectors with software edge blending. 
So, for example, I have two 1920x1200 projectors, lying next to each 
other with, for example 100px overlap. In that case, I need to setup 
xrandr like this:</div><div><br></div><div>eDP-1-1 connected primary 1920x1080+0+0 \
(normal left inverted right x axis y axis) 309mm x 174mm<br>HDMI-1-2 connected \
1920x1080+1820+0 (normal left inverted right x axis y axis) 521mm x \
293mm</div><div><br></div><div>so  the HDMI-1-2 is shifted -100px to the left and \
xorg is displaying same  100px from right part of left output on left part of right \
output. Thats  great and amazing, and in some cases it would be enough but not every 
projector has the edge blending feature, so my idea is to do that using 
software - just &quot;simply&quot; draw 100px gradient on right side of left 
output and similar but horizontally flipped on left side of right 
output. And thats the question - is it possible to draw only on 
practicular OUTPUT so even if part of the image is duplicated on another
 output due to randr settigs, that overlay will be displayed only on 
selected monitor?</div><div><br></div><div>regards </div></div>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic