Xv: split up I830PutImage into textured and !textured case
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Dec 2009 13:32:28 +0000 (14:32 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 7 Jan 2010 18:25:07 +0000 (10:25 -0800)
commitd8353c737b5b8077f499461b1e6c78f09544d226
treed276cf6df8efb09fbe143f74aa0609a24bb7dac4
parent091035146463bf1aa6674bff6947d04fc620c18f
Xv: split up I830PutImage into textured and !textured case

This wasn't making much sense anymore, and further cleanups will
make this even more apparent. This change just makes two copies of
I830PutImage and kills the not-applicable if-clauses in both
versions.

There is one small functional change in here: The textured video
path doesn't munch around with adaptor_priv->videoStatus anymore,
which is only used by the overlay. This could prevent the overlay
from being switched off if someone would use textured video at the
same time.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
src/i830_video.c
src/i830_video.h