A command buffer interface (either mmap()'d buffers or buffers copied using standardized ioctls) with a common command set might be a general approach working on all architectures -- not all card drivers would need to implement all command opcodes, a capability ioctl can return a bitfield of supported opcodes.

Maybe we could use the X11 protocol....

Well, X11 protocol was designed rather well.

We can simplify the matters quite a bit by requiring that writes to the fd
always send N whole packets (and don't break on per-packet boundaries).

On the other hand we would probably want to modify the protocol at least in the following way:

   1) take into account modern hardware.. no short width anymore,
      more pixel formats.

   2) only require parts essential for console implementation - everything
      else could be passed back to user-space daemon. (Note that if
      user-space daemon is not present this would mean that things like
      line-drawing packets would fail..)

   3) the framebuffer would only emit IRQ and completion events.

1) implies that we are not going to be binary compatible with usual X11 protocol, so we are implementing a new protocol nevertheless which means this whole point rather academic: if one designs a new protocol there is no reason not to take into account design of X11.

                        best

                          Vladimir Dergachev


(runs away & hides)

Keith



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to