Compaq 300 manual Default OpenGL Texel Size

Models: 300

1 73
Download 73 pages 41.18 Kb
Page 65
Image 65

Operation (Compaq Tru64 UNIX)

3.Find the line containing PowerStorm 300/350 X server command-line arguments. Search for the text “ PowerStorm 300/350 Server args start” and proceed to the next line where the arguments reside.

4.Append a –Iargument to the list if one is not already present. This indicates the beginning of device-dependent arguments.

5.Append the –riFlipVSyncargument to the list as follows:

! PowerStorm 300/350 Server args start

-pn –su –bs –nice –2 –I -riFlipVSync

! PowerStorm 300/350 Server args end

6.Save your changes to the /var/X11/Xserver.conf file.

7.Restart the server:

> /sbin/init.d/xlogin restart

To disable the synchronization, follow these same steps, but remove the –riFlipVSyncargument. If no other device-dependent arguments are present, you may also remove the –Iflag from the end of the list.

7.2.3 Default OpenGL Texel Size

When specifying a texture in OpenGL, the application may request the use of a particular internal format for GL_RGB and GL_RGBA format textures. If the generic internal format of GL_RGB (3 component) or GL_RGBA (4 component), are requested, the implementation chooses which internal format will be used to store the texture.

The default behavior for our implementation is to use 16-bit texels for these generic formats, as this will effectively double the number of textures that will fit in the texture cache on the PowerStorm 300/350 graphics controllers.

To enable the use of 32-bit texels for these generic three and four component internal formats, follow these steps to add a device-dependent X server argument:

1.Login to the system as root. Ensure that no other user is currently working locally at the X console or connected remotely to the X server. You may choose to reboot the system in single-user mode before continuing.

2.Edit the file /var/X11/Xserver.conf. Save a backup copy.

3.Find the line containing PowerStorm 300/350 X server command-line arguments. Search for the text “ PowerStorm 300/350 Server args start” and proceed to the next line where the arguments reside.

4.Append a –Iargument to the list if one is not already present. This indicates the beginning of device-dependent arguments.

5.Append the –riDefaultTexel32argument to the list as follows:

PowerStorm 300 AGP and 300/350 PCI Graphics Controllers 7–3

Page 65
Image 65
Compaq 300 manual Default OpenGL Texel Size