Re: [AD] A few minor things

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On April 16, 2010, Evert Glebbeek wrote:
> On 16 Apr 2010, at 20:53 , Trent Gamblin wrote:
> > Looking for feedback on all of these things. If people
> > agree they're useful I can come up with an API and see
> > what everyone thinks of it then.
> > 
> > This could be a 5.2 set of features, I would have no
> > problem with that.
> 
> In that case, sounds good!

Indeed.

For the rotation support, shouldn't be a problem for X, xrandr lets you get 
events on display changes, including rotates, so it'd be pretty easy to 
manage. Can also query current state[1].

[1] currently the code cheats and doesn't keep any graphics state other than 
the detected outputs which only change on display hotplug. Managing rotation 
state would probably mean the xrandr code would need to be updated a bit. It 
would have to register for several xrandr events and handle them 
accordingly, instead of the current "query crtc, change settings, set crtc" 
code it currently has. Why you ask? xrandr will reject setting changes if 
the state you have is "stale", so you have to keep track of changes, or 
always just re query.

> Evert
> 
> -------------------------------------------------------------------------
> ----- Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/