HomeSort by: relevance | last modified time | path
    Searched defs:datatype (Results 1 - 25 of 33) sorted by relevancy

1 2

  /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/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/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/xorg-server/dist/glx/
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...]
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...]
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/
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...]
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...]
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/
format_parser.py 105 def datatype(self): member in class:Channel
106 """Returns the datatype corresponding to a channel type and size"""
478 def datatype(self): member in class:Format
479 """Returns the datatype corresponding to a format's channel type and size"""
formatquery.c 1430 GLenum datatype; local
1441 _mesa_uncompressed_format_to_type_and_comps(image_format, &datatype,
1443 if (!datatype)
1446 buffer[0] = datatype;
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...]
texobj.c 695 GLenum datatype = _mesa_get_format_datatype(baseImage->TexFormat); local
696 t->_IsIntegerFormat = datatype == GL_INT || datatype == GL_UNSIGNED_INT;
  /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
s_drawpix.c 444 GLenum datatype = _mesa_get_format_datatype( local
446 if (datatype != GL_FLOAT &&
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
format_parser.py 105 def datatype(self): member in class:Channel
106 """Returns the datatype corresponding to a channel type and size"""
478 def datatype(self): member in class:Format
479 """Returns the datatype corresponding to a format's channel type and size"""
formatquery.c 1420 GLenum datatype; local
1431 _mesa_uncompressed_format_to_type_and_comps(image_format, &datatype,
1433 if (!datatype)
1436 buffer[0] = datatype;
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...]
texobj.c 706 GLenum datatype = _mesa_get_format_datatype(baseImage->TexFormat); local
707 t->_IsIntegerFormat = datatype == GL_INT || datatype == GL_UNSIGNED_INT;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
s_drawpix.c 444 GLenum datatype = _mesa_get_format_datatype( local
446 if (datatype != GL_FLOAT &&
  /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...]
radeon_accel.c 447 int datatype = 0; local
535 case 8: datatype = 2; break;
536 case 15: datatype = 3; break;
537 case 16: datatype = 4; break;
538 case 24: datatype = 5; break;
539 case 32: datatype = 6; break;
549 ((datatype << RADEON_GMC_DST_DATATYPE_SHIFT)
  /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_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/MesaLib/dist/src/mesa/drivers/dri/i965/
brw_wm_surface_state.c 381 GLenum datatype = _mesa_get_format_datatype(img->TexFormat); local
396 if (t->_IsIntegerFormat || datatype == GL_SIGNED_NORMALIZED) {
404 if (datatype == GL_SIGNED_NORMALIZED) {
412 if (datatype == GL_SIGNED_NORMALIZED) {
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
brw_wm_surface_state.c 384 GLenum datatype = _mesa_get_format_datatype(img->TexFormat); local
399 if (t->_IsIntegerFormat || datatype == GL_SIGNED_NORMALIZED) {
407 if (datatype == GL_SIGNED_NORMALIZED) {
415 if (datatype == GL_SIGNED_NORMALIZED) {

Completed in 48 milliseconds

1 2