Lines Matching defs:formats
984 const PixelFormat* formats;
988 formats = esFormats;
993 formats = coreFormats;
1000 if (formats[i].format == format)
1001 return formats[i];
1005 return formats[0];
1755 GLenum formats[] = { GL_RGBA, GL_RGB, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_ALPHA };
1756 GLenum* formatsEnd = formats + DE_LENGTH_OF_ARRAY(formats);
1757 return (std::find(formats, formatsEnd, format) < formatsEnd);
1767 GLenum formats[] = { GL_R8_SNORM, GL_RG8_SNORM, GL_RGB8_SNORM, GL_RGBA8_SNORM,
1769 GLenum* formatsEnd = formats + DE_LENGTH_OF_ARRAY(formats);
1770 return (std::find(formats, formatsEnd, internalFormat.sizedFormat) < formatsEnd);
1775 // check if copy between two internal formats is allowed
1821 // GLES30 does not define ReadPixels types for signed normalized fixed point formats in Table 3.14,
1828 /* Some formats are activated by extensions, check. */
1902 /* Some formats are activated by extensions, check. */
2054 const PixelFormat* formats;
2061 formats = esFormats;
2068 formats = coreFormats;
2075 const PixelFormat& outputFormat = formats[m];
2500 // for integer formats.
3524 const PixelFormat* formats;
3530 formats = esFormats;
3537 formats = coreFormats;
3543 m_inputFormat = formats[inputFormatIndex];