| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/tests/ |
| mesa_formats.cpp | 52 GLenum datatype = 0; local 56 /* If the datatype is zero, the format was not handled */ 57 _mesa_uncompressed_format_to_type_and_comps(f, &datatype, &comps); 58 EXPECT_NE(datatype, (GLenum)0); 62 _mesa_format_matches_format_and_type(f, GL_RG, datatype, 78 GLenum datatype = _mesa_get_format_datatype(f); local 86 /* Note: Z32_FLOAT_X24S8 has datatype of GL_NONE */ 87 EXPECT_TRUE(datatype == GL_NONE || 88 datatype == GL_UNSIGNED_NORMALIZED || 89 datatype == GL_SIGNED_NORMALIZED | [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| formats.c | 58 GLenum DataType; 235 return info->DataType; 560 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) && 574 return _mesa_is_type_unsigned(info->DataType); 591 return (info->DataType == GL_SIGNED_NORMALIZED || 592 info->DataType == GL_INT || 593 info->DataType == GL_FLOAT); 604 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) [all...] |
| mipmap.c | 72 bytes_per_pixel(GLenum datatype, GLuint comps) 76 if (datatype == GL_UNSIGNED_INT_8_24_REV_MESA || 77 datatype == GL_UNSIGNED_INT_24_8_MESA) 80 b = _mesa_sizeof_packed_type(datatype); 83 if (_mesa_type_is_packed(datatype)) 171 * \param datatype GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_FLOAT, etc. 175 do_row(GLenum datatype, GLuint comps, GLint srcWidth, 189 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { 202 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { 214 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) 1957 GLenum datatype; local [all...] |
| mipmap.h | 41 GLenum datatype, GLuint comps,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| formats.c | 58 GLenum DataType; 226 return info->DataType; 527 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) && 541 return _mesa_is_type_unsigned(info->DataType); 558 return (info->DataType == GL_SIGNED_NORMALIZED || 559 info->DataType == GL_INT || 560 info->DataType == GL_FLOAT); 571 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) [all...] |
| mipmap.c | 72 bytes_per_pixel(GLenum datatype, GLuint comps) 76 if (datatype == GL_UNSIGNED_INT_8_24_REV_MESA || 77 datatype == GL_UNSIGNED_INT_24_8_MESA) 80 b = _mesa_sizeof_packed_type(datatype); 83 if (_mesa_type_is_packed(datatype)) 171 * \param datatype GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_FLOAT, etc. 175 do_row(GLenum datatype, GLuint comps, GLint srcWidth, 189 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { 202 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { 214 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) 1952 GLenum datatype; local [all...] |
| mipmap.h | 41 GLenum datatype, GLuint comps,
|
| /xsrc/external/mit/xorg-server/dist/glx/ |
| render2swap.c | 224 swapArray(GLint numVals, GLenum datatype, 231 switch (datatype) { 305 GLenum datatype = compHeader[i].datatype; local 309 __GLX_SWAP_INT(&datatype); 313 stride += __GLX_PAD(numVals * __glXTypeSize(datatype)); 320 GLenum datatype = compHeader[i].datatype; local 324 __GLX_SWAP_INT(&datatype); 328 swapArray(numVals, datatype, stride, numVertexes, pc) [all...] |
| render2.c | 194 GLenum datatype = compHeader[i].datatype; local 197 stride += __GLX_PAD(numVals * __glXTypeSize(datatype)); 204 GLenum datatype = compHeader[i].datatype; local 211 glVertexPointer(numVals, datatype, stride, pc); 215 glNormalPointer(datatype, stride, pc); 219 glColorPointer(numVals, datatype, stride, pc); 223 glIndexPointer(datatype, stride, pc); 227 glTexCoordPointer(numVals, datatype, stride, pc) [all...] |
| rensize.c | 389 GLenum datatype = compHeader[i].datatype; local 394 datatype = SWAPL(datatype); 419 if ((numVals != 1) && (datatype != GL_UNSIGNED_BYTE)) { 429 x = safe_pad(safe_mul(numVals, __glXTypeSize(datatype)));
|
| /xsrc/external/mit/xorg-server.old/dist/glx/ |
| render2swap.c | 214 static void swapArray(GLint numVals, GLenum datatype, 220 switch (datatype) { 288 GLenum datatype = compHeader[i].datatype; local 292 __GLX_SWAP_INT(&datatype); 296 stride += __GLX_PAD(numVals * __glXTypeSize(datatype)); 303 GLenum datatype = compHeader[i].datatype; local 307 __GLX_SWAP_INT(&datatype); 311 swapArray(numVals, datatype, stride, numVertexes, pc) 316 CALL_VertexPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local 324 CALL_ColorPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local 332 CALL_TexCoordPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local 340 CALL_SecondaryColorPointerEXT( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local [all...] |
| render2.c | 188 GLenum datatype = compHeader[i].datatype; local 191 stride += __GLX_PAD(numVals * __glXTypeSize(datatype)); 198 GLenum datatype = compHeader[i].datatype; local 205 CALL_VertexPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local 209 CALL_NormalPointer( GET_DISPATCH(), (datatype, stride, pc) ); 213 CALL_ColorPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local 217 CALL_IndexPointer( GET_DISPATCH(), (datatype, stride, pc) ); 221 CALL_TexCoordPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) ) local 229 CALL_SecondaryColorPointerEXT( GET_DISPATCH(), (numVals, datatype, stride, pc) ); local [all...] |
| rensize.c | 368 GLenum datatype = compHeader[i].datatype; local 373 datatype = SWAPL( datatype ); 398 if ((numVals != 1) && (datatype != GL_UNSIGNED_BYTE)) { 408 arrayElementSize += __GLX_PAD(numVals * __glXTypeSize(datatype));
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/tests/ |
| mesa_formats.cpp | 57 GLenum datatype = 0; local 60 /* If the datatype is zero, the format was not handled */ 61 _mesa_uncompressed_format_to_type_and_comps(f, &datatype, &comps); 62 EXPECT_NE(datatype, (GLenum)0); 79 GLenum datatype = _mesa_get_format_datatype(f); local 87 /* Note: Z32_FLOAT_X24S8 has datatype of GL_NONE */ 88 EXPECT_TRUE(datatype == GL_NONE || 89 datatype == GL_UNSIGNED_NORMALIZED || 90 datatype == GL_SIGNED_NORMALIZED || 91 datatype == GL_UNSIGNED_INT | [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| prog_parameter.h | 104 GLenum16 DataType; /**< GL_FLOAT, GL_FLOAT_VEC2, etc */ 181 GLuint size, GLenum datatype, 189 GLenum datatype, GLuint *swizzleOut); 228 _mesa_gl_datatype_is_64bit(GLenum datatype) 230 switch (datatype) {
|
| prog_parameter.c | 263 * \param datatype GL_FLOAT, GL_FLOAT_VECx, GL_INT, GL_INT_VECx or GL_NONE. 271 GLuint size, GLenum datatype, 283 else if (_mesa_gl_datatype_is_64bit(datatype)) 310 p->DataType = datatype; 379 GLenum datatype, GLuint *swizzleOut) 412 size, datatype, values, NULL, true);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| prog_parameter.h | 95 GLenum16 DataType; /**< GL_FLOAT, GL_FLOAT_VEC2, etc */ 148 GLuint size, GLenum datatype, 156 GLenum datatype, GLuint *swizzleOut); 195 _mesa_gl_datatype_is_64bit(GLenum datatype) 197 switch (datatype) {
|
| prog_parameter.c | 234 * \param datatype GL_FLOAT, GL_FLOAT_VECx, GL_INT, GL_INT_VECx or GL_NONE. 242 GLuint size, GLenum datatype, 253 else if (_mesa_gl_datatype_is_64bit(datatype)) 279 p->DataType = datatype; 328 GLenum datatype, GLuint *swizzleOut) 361 size, datatype, values, NULL, true);
|
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| radeon_exa_funcs.c | 162 uint32_t datatype, dst_pitch_offset; local 168 if (!RADEONGetDatatypeBpp(pPix->drawable.bitsPerPixel, &datatype)) 202 (datatype << 8) | 249 uint32_t dst_pitch_offset, uint32_t datatype, int rop, 258 (datatype << 8) | 285 uint32_t datatype, src_pitch_offset, dst_pitch_offset; local 290 if (!RADEONGetDatatypeBpp(pDst->drawable.bitsPerPixel, &datatype)) 325 datatype, rop, planemask); 418 struct radeon_bo *dst_bo, uint32_t datatype, 437 (datatype << 8) 474 uint32_t datatype = 0; local 576 uint32_t datatype = 0; local 684 uint32_t datatype, src_pitch_offset, scratch_pitch = RADEON_ALIGN(w * bpp \/ 8, 64), scratch_off = 0; local [all...] |
| /xsrc/external/mit/xf86-video-r128/dist/src/ |
| r128_exa.c | 163 uint32_t datatype, dst_pitch_offset; local 165 if (!R128GetDatatypeBpp(bpp, &datatype)) { 184 (datatype >> 8) | 223 uint32_t dst_pitch_offset, uint32_t datatype, int alu, Pixel planemask) 231 (datatype >> 8) | 265 uint32_t datatype, src_pitch_offset, dst_pitch_offset; local 267 if (!R128GetDatatypeBpp(bpp, &datatype)) { 288 R128DoPrepareCopy(pScrn, src_pitch_offset, dst_pitch_offset, datatype, alu, planemask); 436 uint32_t dst_pitch_offset, datatype; local 442 if (!R128GetDatatypeBpp(bpp, &datatype)) { [all...] |
| r128_accel.c | 319 case 8: info->datatype = 2; break; 320 case 15: info->datatype = 3; break; 321 case 16: info->datatype = 4; break; 322 case 24: info->datatype = 5; break; 323 case 32: info->datatype = 6; break; 348 info->dp_gui_master_cntl = ((info->datatype << R128_GMC_DST_DATATYPE_SHIFT)
|
| r128_dri.c | 1144 uint32_t src_pitch_offset, dst_pitch_offset, datatype; local 1148 R128GetDatatypeBpp(pScrn->bitsPerPixel, &datatype); 1151 R128DoPrepareCopy(pScrn, src_pitch_offset, dst_pitch_offset, datatype, GXcopy, ~0); 1180 uint32_t src_pitch_offset, dst_pitch_offset, datatype; local 1184 R128GetDatatypeBpp(pScrn->bitsPerPixel, &datatype); 1187 R128DoPrepareCopy(pScrn, src_pitch_offset, dst_pitch_offset, datatype, GXcopy, ~0);
|
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| radeon_exa_funcs.c | 123 uint32_t datatype, dst_pitch_offset; local 131 if (!RADEONGetDatatypeBpp(pPix->drawable.bitsPerPixel, &datatype)) 161 (datatype << 8) | 205 uint32_t dst_pitch_offset, uint32_t datatype, int rop, 214 (datatype << 8) | 241 uint32_t datatype, src_pitch_offset, dst_pitch_offset; local 248 if (!RADEONGetDatatypeBpp(pDst->drawable.bitsPerPixel, &datatype)) 279 datatype, rop, planemask); 325 struct radeon_bo *dst_bo, uint32_t datatype, 343 (datatype << 8) 379 uint32_t datatype = 0; local 484 uint32_t datatype = 0; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| s_span.h | 209 GLenum datatype,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| s_span.h | 209 GLenum datatype,
|