Re: [AD] RFC - Linux WM Fullscreen Patch

[ Thread Index | Date Index | More Archives ]

Ok. I've already decided yesterday I'll probably abandon this patch anyway, but if it's possible and worthwhile to fix who knows.

The problem is with all three fullscreen types there are problems on Linux.

1) Real fullscreen
KDE: shifted to top left corner
Unity: Needs CCSM installed and switch toggled
XFCE: works

2) Fullscreen window
KDE: Hangs the entire system
Unity: Can't alt-tab out
XFCE: works

3) Virtual fullscreen
KDE: shifted up about 20 pixels
Unity: works
XFCE: works sometimes depending on panel positions

It's freaking disgusting. The only thing that actually works is if you disable compositing, then fullscreen window basically works.

----- Original Message ----- From: "SiegeLordEx" <slabode@xxxxxxxxxx>
To: <alleg-developers@xxxxxxxxxx>
Sent: Thursday, August 07, 2014 9:19 AM
Subject: Re: [AD] RFC - Linux WM Fullscreen Patch

On 08/07/2014 11:12 AM, SiegeLordEx wrote:
On 08/07/2014 10:52 AM, Trent Gamblin wrote:
Primitives and transforms have always been different for me. Paul,
what's the reason behind this? For example scaling everything up still
results in crisp lines etc?

Of course it does, primitives are drawn using polygons and they are
going to use screen pixels (i.e. the actual resolution). It's impossible
to emulate a scaled mode setting with transformations with respect to
how the primitives are drawn.

That's why you always use an intermediate bitmap that you then scale up
if you want large pixels with your primitives. If you really want a
virtual mode in Allegro, that is the method you need to use.


I should note that this is not unique to primitives, since bitmaps are
drawn using polygons as well. E.g. drawing a bitmap at fractional
coordinates will look different on a virtual fullscreen and a real mode.
This is even more easily seen with rotated bitmaps.


Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.

Mail converted by MHonArc 2.6.19+