Searched refs:PixelMaps (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | pixeltransfer.c | 82 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); in _mesa_map_rgba() 83 const GLfloat gscale = (GLfloat) (ctx->PixelMaps.GtoG.Size - 1); in _mesa_map_rgba() 84 const GLfloat bscale = (GLfloat) (ctx->PixelMaps.BtoB.Size - 1); in _mesa_map_rgba() 85 const GLfloat ascale = (GLfloat) (ctx->PixelMaps.AtoA.Size - 1); in _mesa_map_rgba() 86 const GLfloat *rMap = ctx->PixelMaps.RtoR.Map; in _mesa_map_rgba() 87 const GLfloat *gMap = ctx->PixelMaps.GtoG.Map; in _mesa_map_rgba() 88 const GLfloat *bMap = ctx->PixelMaps.BtoB.Map; in _mesa_map_rgba() 89 const GLfloat *aMap = ctx->PixelMaps.AtoA.Map; in _mesa_map_rgba() 110 GLuint rmask = ctx->PixelMaps.ItoR.Size - 1; in _mesa_map_ci_to_rgba() 111 GLuint gmask = ctx->PixelMaps.ItoG.Size - 1; in _mesa_map_ci_to_rgba() [all …]
|
D | pixel.c | 80 return &ctx->PixelMaps.ItoI; in get_pixelmap() 82 return &ctx->PixelMaps.StoS; in get_pixelmap() 84 return &ctx->PixelMaps.ItoR; in get_pixelmap() 86 return &ctx->PixelMaps.ItoG; in get_pixelmap() 88 return &ctx->PixelMaps.ItoB; in get_pixelmap() 90 return &ctx->PixelMaps.ItoA; in get_pixelmap() 92 return &ctx->PixelMaps.RtoR; in get_pixelmap() 94 return &ctx->PixelMaps.GtoG; in get_pixelmap() 96 return &ctx->PixelMaps.BtoB; in get_pixelmap() 98 return &ctx->PixelMaps.AtoA; in get_pixelmap() [all …]
|
D | drawpix.c | 120 if (ctx->PixelMaps.ItoR.Size == 0 || in _mesa_DrawPixels() 121 ctx->PixelMaps.ItoG.Size == 0 || in _mesa_DrawPixels() 122 ctx->PixelMaps.ItoB.Size == 0) { in _mesa_DrawPixels()
|
D | get.c | 907 { GL_PIXEL_MAP_A_TO_A_SIZE, CONTEXT_INT(PixelMaps.AtoA.Size), NO_EXTRA }, 908 { GL_PIXEL_MAP_B_TO_B_SIZE, CONTEXT_INT(PixelMaps.BtoB.Size), NO_EXTRA }, 909 { GL_PIXEL_MAP_G_TO_G_SIZE, CONTEXT_INT(PixelMaps.GtoG.Size), NO_EXTRA }, 910 { GL_PIXEL_MAP_I_TO_A_SIZE, CONTEXT_INT(PixelMaps.ItoA.Size), NO_EXTRA }, 911 { GL_PIXEL_MAP_I_TO_B_SIZE, CONTEXT_INT(PixelMaps.ItoB.Size), NO_EXTRA }, 912 { GL_PIXEL_MAP_I_TO_G_SIZE, CONTEXT_INT(PixelMaps.ItoG.Size), NO_EXTRA }, 913 { GL_PIXEL_MAP_I_TO_I_SIZE, CONTEXT_INT(PixelMaps.ItoI.Size), NO_EXTRA }, 914 { GL_PIXEL_MAP_I_TO_R_SIZE, CONTEXT_INT(PixelMaps.ItoR.Size), NO_EXTRA }, 915 { GL_PIXEL_MAP_R_TO_R_SIZE, CONTEXT_INT(PixelMaps.RtoR.Size), NO_EXTRA }, 916 { GL_PIXEL_MAP_S_TO_S_SIZE, CONTEXT_INT(PixelMaps.StoS.Size), NO_EXTRA },
|
D | mtypes.h | 3488 struct gl_pixelmaps PixelMaps; member
|
D | pack.c | 5203 const GLuint mask = ctx->PixelMaps.StoS.Size - 1; in _mesa_unpack_stencil_span() 5206 indexes[i] = (GLuint)ctx->PixelMaps.StoS.Map[ indexes[i] & mask ]; in _mesa_unpack_stencil_span()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_pixeltransfer.c | 96 const GLuint rSize = ctx->PixelMaps.RtoR.Size; in load_color_map_texture() 97 const GLuint gSize = ctx->PixelMaps.GtoG.Size; in load_color_map_texture() 98 const GLuint bSize = ctx->PixelMaps.BtoB.Size; in load_color_map_texture() 99 const GLuint aSize = ctx->PixelMaps.AtoA.Size; in load_color_map_texture() 120 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; in load_color_map_texture() 121 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; in load_color_map_texture() 122 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; in load_color_map_texture() 123 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; in load_color_map_texture()
|