Home
last modified time | relevance | path

Searched refs:PixelMaps (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dpixeltransfer.c84 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 …]
Dpixel.c74 return &ctx->PixelMaps.ItoI; in get_pixelmap()
76 return &ctx->PixelMaps.StoS; in get_pixelmap()
78 return &ctx->PixelMaps.ItoR; in get_pixelmap()
80 return &ctx->PixelMaps.ItoG; in get_pixelmap()
82 return &ctx->PixelMaps.ItoB; in get_pixelmap()
84 return &ctx->PixelMaps.ItoA; in get_pixelmap()
86 return &ctx->PixelMaps.RtoR; in get_pixelmap()
88 return &ctx->PixelMaps.GtoG; in get_pixelmap()
90 return &ctx->PixelMaps.BtoB; in get_pixelmap()
92 return &ctx->PixelMaps.AtoA; in get_pixelmap()
[all …]
Ddrawpix.c126 if (ctx->PixelMaps.ItoR.Size == 0 || in _mesa_DrawPixels()
127 ctx->PixelMaps.ItoG.Size == 0 || in _mesa_DrawPixels()
128 ctx->PixelMaps.ItoB.Size == 0) { in _mesa_DrawPixels()
Dpack.c549 const GLuint mask = ctx->PixelMaps.StoS.Size - 1; in _mesa_unpack_stencil_span()
552 indexes[i] = (GLuint)ctx->PixelMaps.StoS.Map[ indexes[i] & mask ]; in _mesa_unpack_stencil_span()
Dmtypes.h3429 struct gl_pixelmaps PixelMaps; member
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_pixeltransfer.c49 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()