Searched refs:PixelMaps (Results 1 – 6 of 6) sorted by relevance
84 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); in _mesa_map_rgba()85 const GLfloat gscale = (GLfloat) (ctx->PixelMaps.GtoG.Size - 1); in _mesa_map_rgba()86 const GLfloat bscale = (GLfloat) (ctx->PixelMaps.BtoB.Size - 1); in _mesa_map_rgba()87 const GLfloat ascale = (GLfloat) (ctx->PixelMaps.AtoA.Size - 1); in _mesa_map_rgba()88 const GLfloat *rMap = ctx->PixelMaps.RtoR.Map; in _mesa_map_rgba()89 const GLfloat *gMap = ctx->PixelMaps.GtoG.Map; in _mesa_map_rgba()90 const GLfloat *bMap = ctx->PixelMaps.BtoB.Map; in _mesa_map_rgba()91 const GLfloat *aMap = ctx->PixelMaps.AtoA.Map; in _mesa_map_rgba()112 GLuint rmask = ctx->PixelMaps.ItoR.Size - 1; in _mesa_map_ci_to_rgba()113 GLuint gmask = ctx->PixelMaps.ItoG.Size - 1; in _mesa_map_ci_to_rgba()[all …]
73 return &ctx->PixelMaps.ItoI; in get_pixelmap()75 return &ctx->PixelMaps.StoS; in get_pixelmap()77 return &ctx->PixelMaps.ItoR; in get_pixelmap()79 return &ctx->PixelMaps.ItoG; in get_pixelmap()81 return &ctx->PixelMaps.ItoB; in get_pixelmap()83 return &ctx->PixelMaps.ItoA; in get_pixelmap()85 return &ctx->PixelMaps.RtoR; in get_pixelmap()87 return &ctx->PixelMaps.GtoG; in get_pixelmap()89 return &ctx->PixelMaps.BtoB; in get_pixelmap()91 return &ctx->PixelMaps.AtoA; in get_pixelmap()[all …]
118 if (ctx->PixelMaps.ItoR.Size == 0 || in _mesa_DrawPixels()119 ctx->PixelMaps.ItoG.Size == 0 || in _mesa_DrawPixels()120 ctx->PixelMaps.ItoB.Size == 0) { in _mesa_DrawPixels()
548 const GLuint mask = ctx->PixelMaps.StoS.Size - 1; in _mesa_unpack_stencil_span()551 indexes[i] = (GLuint)ctx->PixelMaps.StoS.Map[ indexes[i] & mask ]; in _mesa_unpack_stencil_span()
5067 struct gl_pixelmaps PixelMaps; member
49 const GLuint rSize = ctx->PixelMaps.RtoR.Size; in load_color_map_texture()50 const GLuint gSize = ctx->PixelMaps.GtoG.Size; in load_color_map_texture()51 const GLuint bSize = ctx->PixelMaps.BtoB.Size; in load_color_map_texture()52 const GLuint aSize = ctx->PixelMaps.AtoA.Size; in load_color_map_texture()72 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; in load_color_map_texture()73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; in load_color_map_texture()74 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; in load_color_map_texture()75 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; in load_color_map_texture()