Lines Matching refs:GLshort
155 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()
156 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()
157 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()
158 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
162 GLshort *row = (GLshort *) accMap; in _mesa_clear_accum_buffer()
210 const GLshort incr = (GLshort) (value * 32767.0f); in accum_scale_or_bias()
214 GLshort *acc = (GLshort *) accMap; in accum_scale_or_bias()
224 GLshort *acc = (GLshort *) accMap; in accum_scale_or_bias()
226 acc[i] = (GLshort) (acc[i] * value); in accum_scale_or_bias()
295 GLshort *acc = (GLshort *) accMap; in accum_or_load()
302 acc[i * 4 + 0] = (GLshort) (rgba[i][RCOMP] * scale); in accum_or_load()
303 acc[i * 4 + 1] = (GLshort) (rgba[i][GCOMP] * scale); in accum_or_load()
304 acc[i * 4 + 2] = (GLshort) (rgba[i][BCOMP] * scale); in accum_or_load()
305 acc[i * 4 + 3] = (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load()
311 acc[i * 4 + 0] += (GLshort) (rgba[i][RCOMP] * scale); in accum_or_load()
312 acc[i * 4 + 1] += (GLshort) (rgba[i][GCOMP] * scale); in accum_or_load()
313 acc[i * 4 + 2] += (GLshort) (rgba[i][BCOMP] * scale); in accum_or_load()
314 acc[i * 4 + 3] += (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load()
389 GLshort *acc = (GLshort *) accMap; in accum_return()