Home | History | Annotate | Download | only in main

Lines Matching refs:texel

161                                   GLint i, GLint j, GLint k, GLfloat *texel )
167 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
168 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
169 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
170 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]);
176 GLint i, GLint j, GLint k, GLfloat *texel )
182 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
183 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
184 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
185 texel[ACOMP] = 1.0F;
201 #define MAX_COMP 4 /* ever needed maximum number of components in texel */
272 #define CALCCDOT(TEXEL, NV, NC, IV, B, V)\
278 TEXEL = (GLint)(dot + B); \
280 if (TEXEL < 0) { \
281 TEXEL = 0; \
282 } else if (TEXEL > NV) { \
283 TEXEL = NV; \
761 GLint texel;
763 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
764 /* add in texel */
766 lolo |= texel;
781 GLint texel;
783 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
784 /* add in texel */
786 lohi |= texel;
868 GLint texel = n_vect + 1; /* transparent black */
873 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
874 /* add in texel */
875 kk[0] |= texel << (t & 7);
878 /* add in texel */
879 kk[0] |= texel << (t & 7);
964 GLint texel = n_vect + 1; /* transparent black */
967 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
969 /* add in texel */
971 lolo |= texel;
998 GLint texel = n_vect + 1; /* transparent black */
1001 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
1003 /* add in texel */
1005 lohi |= texel;
1127 GLint texel;
1129 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
1130 /* add in texel */
1132 lolo |= texel;
1160 GLint texel;
1162 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
1163 /* add in texel */
1165 lohi |= texel;
1238 /* texel is not transparent black */
1241 /* non-opaque texel */