• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1XXX not complete yet
2
3
4Name
5
6    SGIX_video_resize_float
7
8Name Strings
9
10    GLX_SGIX_video_resize_float
11
12Version
13
14    $Date: 1999/12/28 01:40:36 $ $Revision: 1.3 $
15
16Number
17
18    184
19
20Dependencies
21
22    SGIX_video_resize is required
23
24Overview
25
26    This is an extension of the extension SGIX_video_resize
27    (number 83) designed to be able to accept floating point source
28    and destination rectangles to allow sub-pixel positioning and
29    panning.
30
31Issues
32
33    This extension will currently only work on a Bali.
34
35New Procedures and Functions
36
37    int glXChannelRectfSGIX(  Display *display,
38			 int screen,
39			 int channel,
40			 float x,
41			 float y,
42			 float w,
43			 float h )
44
45    int glXQueryChannelRectfSGIX( Display *display,
46			 int screen,
47			 int channel,
48			 float *dx,
49			 float *dy,
50			 float *dw,
51			 float *dh )
52
53    int glXQueryChannelDeltasfSGIX( Display *display,
54			 int screen,
55			 int channel,
56			 float *x,
57			 float *y,
58			 float *w,
59			 float *h )
60
61
62New Tokens
63
64    None
65
66Additions to Chapter 2 of the 1.0 Specification (OpenGL Operation)
67
68    None
69
70Additions to Chapter 3 of the 1.0 Specification (Rasterization)
71
72    None
73
74Additions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and
75the Framebuffer)
76
77    None
78
79Additions to Chapter 5 of the 1.0 Specification (Special Functions)
80
81    None
82
83Additions to Chapter 6 of the 1.0 Specification (State and State Requests)
84
85    None
86
87Additions to the GLX Specification
88
89    This just extends the calls to glxChannelRectSGIX, glxQueryChannelRectSGIX
90    and glxQueryChannelDeltasSGIX to handle floating point data. This extension
91    in range allows us to perform sub-pixel panning.
92
93Errors
94
95    all SGIX_video_resize commands mentioned here return GLX_BAD_CONTEXT
96    if there is no current GLXContext.
97
98    glXChannelRectSGIX returns GLX_BAD_CONTEXT if the current context is
99    not direct, or if there is no current context.
100
101    glXChannelRectSGIX returns GLX_BAD_VALUE if the x,y,w,h rectangle specified
102    does not fit within the channel's rectangle that was current at the time of the
103    glXBindChannelToWindowSGIX call.
104
105    glXBindChannelToWindowSGIX returns GLX_BAD_VALUE if window passed to it
106    is invalid.
107
108    all SGIX_video_resize commands mentioned here return GLX_BAD_VALUE
109    if the specified channel is invalid or inactive.
110
111New State
112     Get Value                   Get Command             Type    Initial Value
113     ---------                   -----------             ----    -------------
114     [deltas]			glXQueryChannelDeltasfSGIX Z+	dx=4,dy=1,dw=4,dh=1
115     [resize rect]		glXQueryChannelRectfSGIX   Z+	current pan/zoom rect
116
117
118New Implementation Dependent State
119
120    Get Value                   Get Command             Type    Initial Value
121    ---------                   -----------             ----    -------------
122    [bound]						B	false
123