<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Alan Cox wrote:
<blockquote cite="mid1094913822.21082.72.camel@localhost.localdomain"
type="cite">
<pre wrap="">On Sad, 2004-09-11 at 08:24, Thomas Hellstrom wrote:
</pre>
<blockquote type="cite">
<pre wrap="">The problem to be solved (for future compatibility) is the following:
1. Is the X server local? If not, best for now is to shut down.
</pre>
</blockquote>
<pre wrap=""><!---->
Surely if not send bitstream over the protocol
</pre>
</blockquote>
This would have been nice, since it would allow decoding to take place
in the local X server of a<br>
cheap EPIA board. Unfortunately, the protocol implementation in the X
server is not complete, and just implements surface and context
creation / deletion and capability querying. <br>
<blockquote cite="mid1094913822.21082.72.camel@localhost.localdomain"
type="cite">
<pre wrap=""></pre>
<blockquote type="cite">
<pre wrap="">2. What is the name of the XvMC Driver? One option would be to load in
turn a number of known drivers and try to create a context. This will
most likely fail if the wrong driver is used.
</pre>
</blockquote>
<pre wrap=""><!---->
This sounds more and more like XvMC and DRI should be talking and using
the same kind of logic.
</pre>
</blockquote>
Yes, this would be possible by letting the X server side of
XvMCCreateContext return the name<br>
of the driver as part of the non-device-private part of the info
record. This would require a slight <br>
redesign of the protocol, and all existing drivers would need a change.
At the very least this should be part of a new protocol revision, but
for now I think we are stuck with the wrapper.<br>
<br>
Another possibility would be, of course, to parse the Xf86Config file.<br>
<br>
<br>
/Thomas<br>
<br>
<br>
<br>
<blockquote cite="mid1094913822.21082.72.camel@localhost.localdomain"
type="cite">
<pre wrap="">_______________________________________________
xorg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xorg@freedesktop.org">xorg@freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://freedesktop.org/mailman/listinfo/xorg">http://freedesktop.org/mailman/listinfo/xorg</a>
</pre>
</blockquote>
<br>
</body>
</html>