Lines Matching refs:offset
63 int offset = 0; in handleStencilModes() local
66 c->stencil_bit_depths[offset++] = 0; in handleStencilModes()
69 c->stencil_bit_depths[offset++] = 1; in handleStencilModes()
72 c->stencil_bit_depths[offset++] = 2; in handleStencilModes()
75 c->stencil_bit_depths[offset++] = 3; in handleStencilModes()
78 c->stencil_bit_depths[offset++] = 4; in handleStencilModes()
81 c->stencil_bit_depths[offset++] = 5; in handleStencilModes()
84 c->stencil_bit_depths[offset++] = 6; in handleStencilModes()
87 c->stencil_bit_depths[offset++] = 8; in handleStencilModes()
90 c->stencil_bit_depths[offset++] = 10; in handleStencilModes()
93 c->stencil_bit_depths[offset++] = 12; in handleStencilModes()
96 c->stencil_bit_depths[offset++] = 16; in handleStencilModes()
99 c->stencil_bit_depths[offset++] = 24; in handleStencilModes()
102 c->stencil_bit_depths[offset++] = 32; in handleStencilModes()
105 c->stencil_bit_depths[offset++] = 48; in handleStencilModes()
108 c->stencil_bit_depths[offset++] = 64; in handleStencilModes()
111 c->stencil_bit_depths[offset++] = 96; in handleStencilModes()
114 c->stencil_bit_depths[offset++] = 128; in handleStencilModes()
116 assert(offset < GLCAPS_STENCIL_BIT_DEPTH_BUFFERS); in handleStencilModes()
118 c->total_stencil_bit_depths = offset; in handleStencilModes()
125 int offset = 0; in handleColorAndAccumulation() local
129 c[offset].r = 4; in handleColorAndAccumulation()
130 c[offset].g = 4; in handleColorAndAccumulation()
131 c[offset].b = 4; in handleColorAndAccumulation()
132 ++offset; in handleColorAndAccumulation()
137 c[offset].a = 4; in handleColorAndAccumulation()
138 c[offset].r = 4; in handleColorAndAccumulation()
139 c[offset].g = 4; in handleColorAndAccumulation()
140 c[offset].b = 4; in handleColorAndAccumulation()
141 c[offset].is_argb = true; in handleColorAndAccumulation()
142 ++offset; in handleColorAndAccumulation()
147 c[offset].r = 4; in handleColorAndAccumulation()
148 c[offset].g = 4; in handleColorAndAccumulation()
149 c[offset].b = 4; in handleColorAndAccumulation()
150 c[offset].a = 8; in handleColorAndAccumulation()
151 ++offset; in handleColorAndAccumulation()
156 c[offset].r = 5; in handleColorAndAccumulation()
157 c[offset].g = 5; in handleColorAndAccumulation()
158 c[offset].b = 5; in handleColorAndAccumulation()
159 ++offset; in handleColorAndAccumulation()
164 c[offset].a = 1; in handleColorAndAccumulation()
165 c[offset].r = 5; in handleColorAndAccumulation()
166 c[offset].g = 5; in handleColorAndAccumulation()
167 c[offset].b = 5; in handleColorAndAccumulation()
168 c[offset].is_argb = true; in handleColorAndAccumulation()
169 ++offset; in handleColorAndAccumulation()
174 c[offset].r = 5; in handleColorAndAccumulation()
175 c[offset].g = 5; in handleColorAndAccumulation()
176 c[offset].b = 5; in handleColorAndAccumulation()
177 c[offset].a = 8; in handleColorAndAccumulation()
178 ++offset; in handleColorAndAccumulation()
183 c[offset].r = 5; in handleColorAndAccumulation()
184 c[offset].g = 6; in handleColorAndAccumulation()
185 c[offset].b = 5; in handleColorAndAccumulation()
186 ++offset; in handleColorAndAccumulation()
191 c[offset].r = 5; in handleColorAndAccumulation()
192 c[offset].g = 6; in handleColorAndAccumulation()
193 c[offset].b = 5; in handleColorAndAccumulation()
194 c[offset].a = 8; in handleColorAndAccumulation()
195 ++offset; in handleColorAndAccumulation()
200 c[offset].r = 8; in handleColorAndAccumulation()
201 c[offset].g = 8; in handleColorAndAccumulation()
202 c[offset].b = 8; in handleColorAndAccumulation()
203 ++offset; in handleColorAndAccumulation()
208 c[offset].a = 8; in handleColorAndAccumulation()
209 c[offset].r = 8; in handleColorAndAccumulation()
210 c[offset].g = 8; in handleColorAndAccumulation()
211 c[offset].b = 8; in handleColorAndAccumulation()
212 c[offset].is_argb = true; in handleColorAndAccumulation()
213 ++offset; in handleColorAndAccumulation()
218 c[offset].r = 8; in handleColorAndAccumulation()
219 c[offset].g = 8; in handleColorAndAccumulation()
220 c[offset].b = 8; in handleColorAndAccumulation()
221 c[offset].a = 8; in handleColorAndAccumulation()
222 ++offset; in handleColorAndAccumulation()
237 c[offset].r = 10; in handleColorAndAccumulation()
238 c[offset].g = 10; in handleColorAndAccumulation()
239 c[offset].b = 10; in handleColorAndAccumulation()
240 ++offset; in handleColorAndAccumulation()
245 c[offset].a = 2; in handleColorAndAccumulation()
246 c[offset].r = 10; in handleColorAndAccumulation()
247 c[offset].g = 10; in handleColorAndAccumulation()
248 c[offset].b = 10; in handleColorAndAccumulation()
249 c[offset].is_argb = true; in handleColorAndAccumulation()
250 ++offset; in handleColorAndAccumulation()
255 c[offset].r = 10; in handleColorAndAccumulation()
256 c[offset].g = 10; in handleColorAndAccumulation()
257 c[offset].b = 10; in handleColorAndAccumulation()
258 c[offset].a = 8; in handleColorAndAccumulation()
259 ++offset; in handleColorAndAccumulation()
264 c[offset].r = 12; in handleColorAndAccumulation()
265 c[offset].g = 12; in handleColorAndAccumulation()
266 c[offset].b = 12; in handleColorAndAccumulation()
267 ++offset; in handleColorAndAccumulation()
272 c[offset].a = 12; in handleColorAndAccumulation()
273 c[offset].r = 12; in handleColorAndAccumulation()
274 c[offset].g = 12; in handleColorAndAccumulation()
275 c[offset].b = 12; in handleColorAndAccumulation()
276 c[offset].is_argb = true; in handleColorAndAccumulation()
277 ++offset; in handleColorAndAccumulation()
282 c[offset].r = 16; in handleColorAndAccumulation()
283 c[offset].g = 16; in handleColorAndAccumulation()
284 c[offset].b = 16; in handleColorAndAccumulation()
285 ++offset; in handleColorAndAccumulation()
290 c[offset].r = 16; in handleColorAndAccumulation()
291 c[offset].g = 16; in handleColorAndAccumulation()
292 c[offset].b = 16; in handleColorAndAccumulation()
293 c[offset].a = 16; in handleColorAndAccumulation()
294 ++offset; in handleColorAndAccumulation()
301 return offset; in handleColorAndAccumulation()
324 int offset = 0; in handleDepthModes() local
327 c->depth_buffers[offset++] = value; \ in handleDepthModes()
368 c->total_depth_buffer_depths = offset; in handleDepthModes()