[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2811.0. "GPD, GPB & output driver" by CSC32::R_SOMBERG () Thu May 24 1990 14:34

Hi,

The DECwindows Device Support Manaual, chapter 6, describes the output driver,
it also desribes (very briefly) three QIO calls to the driver.  This chapter 
also reffer to appendix A & B for more info on the macros and data structures,
but no specific infromation available in this appendix.
A customer is looking into using this for animation -- he is using now xlib 
but it is too slow for him -- by 'talking' directly with the output driver 
he call bypass the overhead of dw.

Is anybody there can provide more infromation on how to  use each of 
the three qios, what is the description of the GPD & GPB? maybe example?
Is there another document which have more details on the above (VCB02?)
etc...
	Thanks, Reuven Somberg CSC/CS.
T.RTitleUserPersonal
Name
DateLines
2811.1STAR::KLEINSORGEFred Kleinsorge, VMS DevelopmentFri May 25 1990 09:4911
    
    The DECwindows output drivers do not do output.  They do a couple real
    simple management jobs - like allocate the device.  All the real work
    is done by the server which directly talks to the device.
    
    If you want to talk directly to the hardware through a driver - try
    VADRIVER from VWS and/or the DOP interface.  There is a VCB02
    technical manual - I don't have the order number offhand.
    
    _Fred
    
2811.2Purpose and use of the QIOs?CSC32::R_SOMBERGFri May 25 1990 11:5212
    Thanks for the reply.  I think I missed the point.  There are few
    comments in chapter 6 that may seems that the output driver talks with
    the hardware, e.g. in 6.1 "The output driver for a color (GPX)
    workstation interprets direct memory access (DMA) packets from the
    server and presents the packet data to the graphics hardware."
    and "The driver may contain routines, macros, and services to execute
    draw requests, copy data between dost memory and video memory,...".
    
    So what is the purpose and use of the three QIOs documented in this
    chapter?
    
    	Thanks, Reuven.
2811.3STAR::KLEINSORGEFred Kleinsorge, VMS DevelopmentFri May 25 1990 12:239
    Isn't it obvious, ALL workstations require a device driver, the
    VMS/DECwindows architecture *requires* it :-)
    
    Seriously, from my looking into the servers a while back, everything
    of any interest is done in the DDX layer of the server.  Very, very
    little is done in the device driver.  But someone in the server group
    could give you a specific answer about what things are actually done
    by the driver.
    
2811.4STAR::MCLEMANJeff McLeman, VMS developmentFri May 25 1990 14:124
From what I understand, the output driver does things like load the color
map, cursor, and feeds the raw hardware with data from the DDX.

Jeff
2811.5CSC32::R_SOMBERGFri May 25 1990 15:152
    So when and how to use those three qios documeted in chapter 6.
    
2811.6PAXVAX::MIANOMy parents think I'm in collegeFri May 25 1990 16:0617
>    The DECwindows output drivers do not do output.  They do a couple real
>    simple management jobs - like allocate the device.  All the real work
>    is done by the server which directly talks to the device.
    
    Wait a minute. The GPX servers do NOT access the hardware directly. All
    the smarts for doing this is in the driver. The server figures out what
    needs to get done and packetizes the information. The packets are
    inserted on an interlocked queue and the driver removes them (this is
    where the GPD and GPB's come in). The driver then parses the packets
    and does what is necessary to the hardware.
    
    The same is not true of other servers. The SPX and MFB servers DO
    access the hardware directly. These drivers are pretty dumb -- their
    main purpose is to perform the vertical sync functions and other
    managment functions described in other notes (cursor, etc).
    
    I'm sorry; I have no information about the QIO's in chapter 6.
2811.7CSC32::R_SOMBERGFri May 25 1990 19:282
    Thanks for .6 -- I'll do some 'digging' around to find out the
    structure of GPD & GPB (as they are not in appendix A) and the QIOs.