Gamma value, Hpogl_push _environment, Gamma value hpogl_push _environment – HP sv6 User Manual

Page 84

Advertising
background image

installation and user information

optimization

Chapter 2

84

gamma value

Another way to fine-tune the image quality is to adjust the gamma
correction. Specify the default values to be used for 3D gamma
correction. using the instructions in the

/opt/graphics/OpenGL/sv/doc/README.gamma

file.

HPOGL_PUSH _ENVIRONMENT

To override the default environment specified in the SlaveEnvironment
section of the

/etc/X11/X0screens

file, have the application startup

script set HPOGL_PUSH_ENVIRONMENT.

By setting HPOGL_PUSH_ENVIRONMENT, all HPOGL* environment
variables are passed across to the slave nodes. With this mechanism,
each application can have its own individual environment. In the
absence of HPOGL_PUSH_ENVIRONMENT, slave environments
default to X0screens settings at the time that the Xserver was started.

As an example, assume X0screens has:

SlaveEnvironment

HPOGL_FORCE_SCENEAA=1

HPOGL_LIGHTING_SPACE=EC

Application abc’s startup script contains:

export HPOGL_BOUNDING_VOLUME_ENABLE=1

export HPOGL_BOUNDING_VOLUME_GLOBAL=1

export HPOGL_BVOL_MIN_VERTS=5

export HPOGL_BVOL_MAX_VERTS=10

export HPOGL_PUSH_ENVIRONMENT=1

/opt/apps/abc

For this example, application abc will run with the four variables set in
its environment and WILL NOT have HPOGL_FORCE_SCENEAA or
HPOGL_LIGHTING_SPACE=EC set.

Any other application that is run without
HPOGL_PUSH_ENVIRONMENT will have only the X0screens values.

Advertising