Skip to contentSkip to conversation

XRandR 180

DISCUSSION Justin Dugger 2 participants 2 messages Oct 8, 2007 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

Does the current tree implement Rotate 180? I can see 0, 90 and 270, but not 180. This feature might sound silly at first glance, but it happens to be highly useful for my convertible tablet laptop. I've browsed the current nv code and nouveau implementations, and it's pretty clear that the older xrandr implementation did not do this. Is there some secret in xrandr1.2 that I'm not seeing, or is the function also lacking in the current tree?

This change seems like a fairly simple 20-ish line of code patch to support an additional rotation mode, but there's one thing I'm not clear on: does pNV map to some register in hardware, or is it simply a global state for the driver itself?

Justin Dugger

A message that is not in the archive (sent off-list or not yet received): 816bc7510710080112x5faa57afjb9fc87b9d2a075d3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw
Quoted 11 lines · Justin Dugger

Hi,

Does the current tree implement Rotate 180? I can see 0, 90 and 270, but not 180. This feature might sound silly at first glance, but it happens to be highly useful for my convertible tablet laptop. I've browsed the current nv code and nouveau implementations, and it's pretty clear that the older xrandr implementation did not do this. Is there some secret in xrandr1.2 that I'm not seeing, or is the function also lacking in the current tree?

Quoted 5 lines

This change seems like a fairly simple 20-ish line of code patch to support an additional rotation mode, but there's one thing I'm not clear on: does pNV map to some register in hardware, or is it simply a global state for the driver itself?

Hello

Our plan is a bit longer term than that. We want to implement hw accelerated rotate support through randr + EXA. On the minus side, it's not a 10-line job and requires us finishing up EXA composite() hookrs properly, but on the plus side, it'll be hw accelerated.

Stephane

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau