Hei Jens

Remember this?

+-----------------------------------+
|   X11/OpenGL Based Application    |
|   (Using 3D Direct Rendering)     |
+----------------------+------------+
|   OpenGL Library     |     XLib   |
|                 +----+----+       |
|                 | GLXLib  |       |
+-------------+---+----+    |       |
|    Mesa     | DRILib |    |       |
|             |   +----+----+-------+
+-------------+   | Protocol Encode |
| Mesa Driver |   |                 |
|       +-----+---+-----------------+
|       | DRM Lib |        |
+-------+---------+        |
    |     |     |          V
    |     |     |      X Transport
    V     V     V 
  MMIO  IOCTL  SHM

Well I'd like to explode it.

This is what I have so far:

+-----------------------------------------+
|   X11/OpenGL Based Application          |
|   (Using 3D Direct Rendering)           |
+-----------------------------------------+
           |                       |
           V                       V 
+----------------------+     +------------+
|   OpenGL Library     |     |     XLib   |
+----------------------+     +------------+
      |           |   |       |      |
      |           |   V       V      |
      |           |  +---------+     |
      |           |  |  GLXLib |     |
      |           |  +---------+     |
      |           |      |   |       |
      V           V      V   |       |
+-------------+  +--------+  |       |
|    Mesa     |  | DRILib |  |       |
+-------------+  +--------+  |       |
      |            |     |   |       |                 
      |            |     V   V       V
      |            |   +-----------------+   
      |            |   | Protocol Encode |
      |            |   +-----------------+   
      |            |            |
      V            |            |
+-------------+    |            |
| Mesa Driver |    |            | 
+-------------+    |            |   
    |        |     |            |
    |        V     V            |
    |      +---------+          |
    |      | DRM Lib |          |        
    |      +---------+          |        
    |        |     |            |
    |        |     |            |
    |        |     |            V
    |        |     |       X Transport
    V        V     V 
  MMIO     IOCTL  SHM

Comments?

One thing that I would like to be able to show is, when you have one line
going into a box and two lines coming from it, is a branch occuring or is
it an either or situation. ie a choice is made and only one path is taken.

I've attached the latest WIP of control_flow.png to help show this.

RM = Resource Management
or = 1 of these 2 paths are followed
&  = both of these 2 paths are followed
2D = 2D commands & data
3D = 3D commands & data

lines in columns indicate individual paths while, 
lines not in columns are agregations of paths.

eg's in my bit of exploded ascii art and the X Server.

This becomes somewhat of an issue when you have multiple line entering
and leaving a box, so if the lines should match up and don't or vice 
versa - let me know. 

DRMLib whats the differnce between the one in the X Server and the one in the 3DDRP? 
They both talk to Kernel & SAREA (SHM & IOCTL).
 
Liam
----
it depends

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to