Lines Matching defs:formats

52  * For the formats WINED3DFMT_A32B32G32R32F, WINED3DFMT_A16B16G16R16F,
57 * formats are not usable in 2D rendering because ddraw doesn't support them.
59 static const struct StaticPixelFormatDesc formats[] =
63 /* FourCC formats */
75 /* IEEE formats */
88 /* Palettized formats */
91 /* Standard ARGB formats. */
125 /* Depth stencil formats */
139 /* Vendor-specific formats */
565 /* FourCC formats */
612 /* IEEE formats */
654 /* Palettized formats */
663 /* Standard ARGB formats */
782 /* Depth stencil formats */
847 /* Vendor-specific formats */
860 * This will catch the argb formats before the loop is entered
862 if(fmt < (sizeof(formats) / sizeof(formats[0])) && formats[fmt].format == fmt) {
866 for(i = 0; i < (sizeof(formats) / sizeof(formats[0])); i++) {
867 if(formats[i].format == fmt) {
877 UINT format_count = sizeof(formats) / sizeof(*formats);
890 desc->format = formats[i].format;
891 desc->red_mask = formats[i].redMask;
892 desc->green_mask = formats[i].greenMask;
893 desc->blue_mask = formats[i].blueMask;
894 desc->alpha_mask = formats[i].alphaMask;
895 desc->byte_count = formats[i].bpp;
896 desc->depth_size = formats[i].depthSize;
897 desc->stencil_size = formats[i].stencilSize;
1082 for (i = 0; i < sizeof(formats) / sizeof(*formats); ++i)
1354 * V16U16 is only supported by GL_NV_texture_shader. The formats need fixup if
1384 /* If GL_NV_texture_shader is not supported, those formats are converted, incompatibly
1401 * the shader, thus they are compatible with all WINED3DFMT_UNKNOWN group formats.