GLXVIDEORESIZESUN(3gl)GLXVIDEORESIZESUN(3gl)NAME
glXVideoResizeSUN - set the video resize scale factor
C SPECIFICATION
int glXVideoResizeSUN( Display *dpy,
GLXDrawable window,
float factor )
PARAMETERS
dpy Specifies the connection to the X server.
window Specifies the window drawable ID.
factor Specifies the video resize factor value.
DESCRIPTION
glXVideoResizeSUN sets the factor by which the input viewport will be
resized with respect to the video output resolution. The width and
height of the input viewport are equal to the width and height of the
video output multiplied by the resize factor. The resize factor can be
any value greater than 0 and less than or equal to the maximum value of
1.0. Upon success, glXVideoResizeSUN returns a value of 0; see Errors
section otherwise.
NOTES
glXVideoResizeSUN is only available if the GL implementation supports
GLX_SUN_video_resize extension.
ERRORS
GLXBadDrawable is generated if window is not a valid GLX drawable.
SEE ALSO
glXChooseVisual, glXGetConfig, glXGetVideoResizeSUN
21 May 97 GLXVIDEORESIZESUN(3gl)