Searched refs:swImg (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 69 struct swrast_texture_image *swImg = swrast_texture_image(texImage); in _swrast_alloc_texture_image_buffer() local 74 assert(!swImg->Buffer); in _swrast_alloc_texture_image_buffer() 75 swImg->Buffer = _mesa_align_malloc(bytes, 512); in _swrast_alloc_texture_image_buffer() 76 if (!swImg->Buffer) in _swrast_alloc_texture_image_buffer() 80 swImg->RowStride = texImage->Width; in _swrast_alloc_texture_image_buffer() 86 swImg->ImageOffsets = (GLuint *) malloc(texImage->Depth * sizeof(GLuint)); in _swrast_alloc_texture_image_buffer() 87 if (!swImg->ImageOffsets) in _swrast_alloc_texture_image_buffer() 91 swImg->ImageOffsets[i] = i * texImage->Width * texImage->Height; in _swrast_alloc_texture_image_buffer() 110 struct swrast_texture_image *swImg = swrast_texture_image(texImage); in _swrast_init_texture_image() local 115 swImg->_IsPowerOfTwo = GL_TRUE; in _swrast_init_texture_image() [all …]
|
D | s_texfilter.c | 164 const struct swrast_texture_image *swImg = swrast_texture_image_const(img); in linear_texel_locations() local 169 if (swImg->_IsPowerOfTwo) { in linear_texel_locations() 292 const struct swrast_texture_image *swImg = swrast_texture_image_const(img); in nearest_texel_location() local 300 if (swImg->_IsPowerOfTwo) in nearest_texel_location() 852 const struct swrast_texture_image *swImg = swrast_texture_image_const(img); in sample_1d_nearest() local 863 swImg->FetchTexel(swImg, i, 0, 0, rgba); in sample_1d_nearest() 877 const struct swrast_texture_image *swImg = swrast_texture_image_const(img); in sample_1d_linear() local 900 swImg->FetchTexel(swImg, i0, 0, 0, t0); in sample_1d_linear() 906 swImg->FetchTexel(swImg, i1, 0, 0, t1); in sample_1d_linear() 1119 const struct swrast_texture_image *swImg = swrast_texture_image_const(img); in sample_2d_nearest() local [all …]
|
D | s_triangle.c | 131 const struct swrast_texture_image *swImg = \ 136 const GLubyte *texture = (const GLubyte *) swImg->Map; \ 189 const struct swrast_texture_image *swImg = \ 194 const GLubyte *texture = (const GLubyte *) swImg->Map; \ 546 const struct swrast_texture_image *swImg = \ 550 info.texture = (const GLchan *) swImg->Map; \ 815 const struct swrast_texture_image *swImg = \ 817 info.texture = (const GLchan *) swImg->Map; \ 1051 const struct swrast_texture_image *swImg; in _swrast_choose_triangle() local 1063 swImg = swrast_texture_image_const(texImg); in _swrast_choose_triangle() [all …]
|
D | s_fragprog.c | 121 const struct swrast_texture_image *swImg = in fetch_texel_deriv() local 124 const GLfloat texW = (GLfloat) swImg->WidthScale; in fetch_texel_deriv() 125 const GLfloat texH = (GLfloat) swImg->HeightScale; in fetch_texel_deriv()
|
D | s_span.c | 499 const struct swrast_texture_image *swImg = in interpolate_texcoords() local 512 texW = swImg->WidthScale; in interpolate_texcoords() 513 texH = swImg->HeightScale; in interpolate_texcoords()
|