Searched refs:PixelMaps (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | pixeltransfer.c | 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 …]
|
D | pixel.c | 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 …]
|
D | drawpix.c | 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()
|
D | pack.c | 547 const GLuint mask = ctx->PixelMaps.StoS.Size - 1; in _mesa_unpack_stencil_span() 550 indexes[i] = (GLuint)ctx->PixelMaps.StoS.Map[ indexes[i] & mask ]; in _mesa_unpack_stencil_span()
|
D | mtypes.h | 4836 struct gl_pixelmaps PixelMaps; member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_pixeltransfer.c | 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()
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | get_hash.h | 488 { GL_PIXEL_MAP_A_TO_A_SIZE, CONTEXT_INT(PixelMaps.AtoA.Size), NO_EXTRA }, 489 { GL_PIXEL_MAP_B_TO_B_SIZE, CONTEXT_INT(PixelMaps.BtoB.Size), NO_EXTRA }, 490 { GL_PIXEL_MAP_G_TO_G_SIZE, CONTEXT_INT(PixelMaps.GtoG.Size), NO_EXTRA }, 491 { GL_PIXEL_MAP_I_TO_A_SIZE, CONTEXT_INT(PixelMaps.ItoA.Size), NO_EXTRA }, 492 { GL_PIXEL_MAP_I_TO_B_SIZE, CONTEXT_INT(PixelMaps.ItoB.Size), NO_EXTRA }, 493 { GL_PIXEL_MAP_I_TO_G_SIZE, CONTEXT_INT(PixelMaps.ItoG.Size), NO_EXTRA }, 494 { GL_PIXEL_MAP_I_TO_I_SIZE, CONTEXT_INT(PixelMaps.ItoI.Size), NO_EXTRA }, 495 { GL_PIXEL_MAP_I_TO_R_SIZE, CONTEXT_INT(PixelMaps.ItoR.Size), NO_EXTRA }, 496 { GL_PIXEL_MAP_R_TO_R_SIZE, CONTEXT_INT(PixelMaps.RtoR.Size), NO_EXTRA }, 497 { GL_PIXEL_MAP_S_TO_S_SIZE, CONTEXT_INT(PixelMaps.StoS.Size), NO_EXTRA },
|