| United States-English |
|
|
|
![]() |
HP-UX Starbase Device Drivers Manual - Vol1: HP 9000 Series 700 Computers > Chapter 2 HP VMX Device Driver Device Description |
|
In order to answer the question "What is HP VMX?" let us first examine its name. HP VMX is a shorthand name for the HP Virtual Memory X driver and is derived from its implementation and usage. Briefly, HP VMX offers the capability to render 3D graphics images into Virtual Memory for display in the X11 Windows client-server environment. While HP VMX is technically a Starbase "device driver" it differs somewhat from the traditional definition. A traditional Starbase device driver implements device-specific code necessary to support the device-independent Starbase graphics library on a particular graphics device (or family of graphics devices). HP VMX, on the other hand, implements the code to support the device-independent Starbase graphics library in an X11 graphics window — independent of the underlying hardware on which the X window resides. HP VMX accomplishes this in two steps:
Because HP VMX uses the X11 protocol to display the images, this targeted window may be local or remote on: HP or non-HP hardware, a workstation, an X terminal, or a PC[4]. The only requirement is that you run to an X11 graphics window. Note, too, that the application is not responsible for displaying the images via X11 protocol; this is handled by the HP VMX driver. You may recognize similarities between HP VMX and the "Starbase-on-X11" (SOX11) device driver. While the X11-based client-server models are similar, differences do exist in both functionality (HP VMX has a richer set) and performance (differs per functionality). Please see the section "HP VMX vs. SOX11" for an overview comparing and contrasting the two drivers. The following example shows the steps necessary to run an application using VMX. This example is intended to give you a feel for the kinds of steps necessary to use VMX, rather than provide a detailed tutorial on all the steps necessary to explain each step. Refer to the sections throughout this chapter, including, "HP VMX Licensing", "To Compile and Link with the Device Driver", and "To Open and Initialize the Device for Output" for details on these steps. In order to run a PowerShade application to an HP700/RX X Station across the network from an HP 735 (running 9.0 HP-UX or later), you need to:
The application is now executing on the HP 735 (hpdspsvr), and displaying X and Starbase output on the X Station (hpxterm:0.0). This example illustrates that it is easy to run your Starbase applications across the network in the X11 client-server model using HP VMX.
Now that you have some understanding of what HP VMX is, and how you can use HP VMX, let us take a look at how HP VMX works. Instead of rendering Starbase 3D graphics images to a dedicated graphics display subsystem, HP VMX is designed to render these Starbase 3D graphics images to a virtual memory frame buffer and display these images to an X11 window using standard X11 protocol. Here are the basic steps HP VMX performs:
The HP VMX driver supports only 8-bit X11 windows. Attempts to gopen windows with a depth other than 8 will result in a Starbase error. The HP VMX driver supports the following configurations:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||