Home
last modified time | relevance | path

Searched refs:GreenScale (Results 1 – 18 of 18) sorted by relevance

/reactos/dll/opengl/mesa/
H A Dcopypix.c104 || ctx->Pixel.GreenScale!=1.0 || ctx->Pixel.GreenBias!=0.0 in copy_rgb_pixels()
137 GLfloat gbias = ctx->Pixel.GreenBias * ctx->Visual->GreenScale; in copy_rgb_pixels()
141 GLint gmax = (GLint) ctx->Visual->GreenScale; in copy_rgb_pixels()
146 GLint g = green[i] * ctx->Pixel.GreenScale + gbias; in copy_rgb_pixels()
167 green[i] = (GLint) (ctx->Pixel.MapGtoG[ig]*ctx->Visual->GreenScale); in copy_rgb_pixels()
H A Dvbfill.c219 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(green, 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_Color3f()
249 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(c[1], 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_Color3fv()
281 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(green, 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_Color4f()
312 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(c[1], 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_Color4fv()
343 ctx->Current.ByteColor[1] = green * ctx->Visual->GreenScale * (1.0F/255.0F); in gl_Color4ub()
371 ctx->Current.ByteColor[1] = c[1] * ctx->Visual->GreenScale * (1.0F/255.0F); in gl_Color4ubv()
400 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(green, 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_ColorMat3f()
419 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(c[1], 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_ColorMat3fv()
439 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(green, 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_ColorMat4f()
458 ctx->Current.ByteColor[1] = FloatToInt(CLAMP(c[1], 0.0F, 1.0F) * ctx->Visual->GreenScale); in gl_ColorMat4fv()
[all …]
H A Dblend.c140 GLint gmax = (GLint) ctx->Visual->GreenScale; in do_blend()
168 GLint gmax = (GLint) ctx->Visual->GreenScale; in do_blend()
199 GLint gmax = (GLint) ctx->Visual->GreenScale; in do_blend()
357 GLfloat gmax = ctx->Visual->GreenScale; in do_blend()
H A Ddrawpix.c211 green[j] = (GLint) (ctx->Pixel.MapItoG[ispan[j]] * ctx->Visual->GreenScale); in draw_index_pixels()
379 g = (GLint) (ctx->Current.RasterColor[1] * ctx->Visual->GreenScale); in draw_depth_pixels()
551 || ctx->Pixel.GreenScale != 1.0F || ctx->Pixel.GreenBias != 0.0F in draw_color_pixels()
940 g = gf[j] * ctx->Pixel.GreenScale + ctx->Pixel.GreenBias; in draw_color_pixels()
970 green[j] = (GLint) (gf[j] * ctx->Visual->GreenScale); in draw_color_pixels()
H A Daccum.c249 gscale = value / acc_scale * ctx->Visual->GreenScale; in gl_Accum()
253 gmax = (GLint) ctx->Visual->GreenScale; in gl_Accum()
H A Dfog.c140 GLfloat fogg = ctx->Fog.Color[1] * ctx->Visual->GreenScale; in gl_fog_color_vertices()
261 GLfloat fog_green = ctx->Fog.Color[1] * ctx->Visual->GreenScale; in gl_fog_color_pixels()
H A Dmisc.c147 GLubyte g = (GLint) (ctx->Color.ClearColor[1] * ctx->Visual->GreenScale); in gl_ClearColor()
183 GLubyte g = ctx->Color.ClearColor[1] * ctx->Visual->GreenScale; in clear_color_buffer_with_masking()
H A Dbitmap.c113 g = (GLint) (ctx->Current.RasterColor[1] * ctx->Visual->GreenScale); in gl_render_bitmap()
H A Dshade.c112 gscale = ctx->Visual->GreenScale; in gl_color_shade_vertices()
328 gscale = ctx->Visual->GreenScale; in gl_color_shade_vertices_fast()
H A Dcontext.c624 ctx->Current.ByteColor[1] = (GLint) ctx->Visual->GreenScale; in initialize_context()
716 ctx->Pixel.GreenScale = 1.0; in initialize_context()
877 && ctx->Visual->GreenScale==255.0F in initialize_context()
981 vis->GreenScale = green_scale; in gl_create_visual()
H A Dlogic.c389 GLubyte g = (GLint) ctx->Visual->GreenScale; in gl_logicop_rgba_span()
575 GLubyte g = (GLint) ctx->Visual->GreenScale; in gl_logicop_rgba_pixels()
H A Dpixel.c85 ctx->Pixel.GreenBias==0.0 && ctx->Pixel.GreenScale==1.0 && in update_drawpixels_state()
833 ctx->Pixel.GreenScale = param; in gl_PixelTransferf()
H A Dreadpix.c546 ctx->Pixel.GreenScale!=1.0F || ctx->Pixel.GreenBias!=0.0F || in scale_or_bias_rgba()
571 g = green[i] * ctx->Pixel.GreenScale + ctx->Pixel.GreenBias; in scale_and_bias_rgba()
H A Dteximage.c403 ctx->Pixel.GreenScale!=1.0F || ctx->Pixel.GreenBias!=0.0F || in image_to_texture()
586 g = g * ctx->Pixel.GreenScale + ctx->Pixel.GreenBias; in image_to_texture()
739 green = green * ctx->Pixel.GreenScale + ctx->Pixel.GreenBias; in image_to_texture()
H A Dtypes.h810 GLfloat GreenBias, GreenScale; member
1141 GLfloat GreenScale; /* components from the range [0,1] to */ member
H A Dget.c350 *params = FLOAT_TO_BOOL(ctx->Pixel.GreenScale); in gl_GetBooleanv()
1113 *params = (GLdouble) ctx->Pixel.GreenScale; in gl_GetDoublev()
1875 *params = (GLfloat) ctx->Pixel.GreenScale; in gl_GetFloatv()
2641 *params = (GLint) ctx->Pixel.GreenScale; in gl_GetIntegerv()
H A Deval.c2023 icolor[1] = (GLint) (fcolor[1] * ctx->Visual->GreenScale); in gl_EvalCoord1f()
2161 icolor[1] = (GLint) (fcolor[1] * ctx->Visual->GreenScale); in gl_EvalCoord2f()
H A Dtexture.c1664 GLfloat gscale = ctx->Visual->GreenScale * (1.0F/ 255.0F); in apply_texture()