HomeSort by relevance Sort by last modified time
    Searched refs:texelSize (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/angle/samples/gles2_book/MipMap2D/
MipMap2D.c 47 int texelSize = 3;
57 *dst = malloc ( sizeof(GLubyte) * texelSize * (*dstWidth) * (*dstHeight) );
74 (((y * 2) * srcWidth) + (x * 2)) * texelSize;
76 (((y * 2) * srcWidth) + (x * 2 + 1)) * texelSize;
78 ((((y * 2) + 1) * srcWidth) + (x * 2)) * texelSize;
80 ((((y * 2) + 1) * srcWidth) + (x * 2 + 1)) * texelSize;
96 (*dst)[ ( y * (*dstWidth) + x ) * texelSize ] = (GLubyte)( r );
97 (*dst)[ ( y * (*dstWidth) + x ) * texelSize + 1] = (GLubyte)( g );
98 (*dst)[ ( y * (*dstWidth) + x ) * texelSize + 2] = (GLubyte)( b );
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_texture.c 194 GLint stride, texelSize;
199 texelSize = _mesa_get_format_bytes(texImage->TexFormat);
232 map += stride * (y / bh) + texelSize * (x / bw);
  /external/mesa3d/src/mesa/swrast/
s_texture.c 194 GLint stride, texelSize;
199 texelSize = _mesa_get_format_bytes(texImage->TexFormat);
232 map += stride * (y / bh) + texelSize * (x / bw);

Completed in 55 milliseconds