Lines Matching defs:offset
194 * Apply color index shift and offset to an array of pixels.
201 GLint offset = ctx->Pixel.IndexOffset;
205 indexes[i] = (indexes[i] << shift) + offset;
211 indexes[i] = (indexes[i] >> shift) + offset;
216 indexes[i] = indexes[i] + offset;
224 * Apply stencil index shift, offset and table lookup to an array
232 const GLint offset = ctx->Pixel.IndexOffset;
237 stencil[i] = (stencil[i] << shift) + offset;
243 stencil[i] = (stencil[i] >> shift) + offset;
248 stencil[i] = stencil[i] + offset;