Lines Matching refs:supported

49 /* The driver names reflect the lowest GPU supported
553 * like client storage might be supported on other implementations too, but GL_APPLE_flush_render
591 if (!gl_info->supported[ARB_PIXEL_BUFFER_OBJECT]) return;
626 gl_info->supported[ARB_PIXEL_BUFFER_OBJECT] = FALSE;
675 if (!gl_info->supported[EXT_SECONDARY_COLOR])
709 if (!gl_info->supported[NV_VERTEX_PROGRAM2_OPTION]) return FALSE;
847 if (!gl_info->supported[ARB_FRAGMENT_PROGRAM])
945 * has this extension promoted to core. The extension loading code sets this extension supported
947 if(gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
950 gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] = FALSE;
951 gl_info->supported[WINED3D_GL_NORMALIZED_TEXRECT] = TRUE;
959 * This usually means that ARB_tex_npot is supported in hardware as long as the application is staying
962 * We therefore completely remove ARB_tex_npot from the list of supported extensions.
972 gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] = FALSE;
973 gl_info->supported[ARB_TEXTURE_RECTANGLE] = TRUE;
1256 * - Radeon HD2x00 (R600) and up supported by current drivers.
1257 * - Radeon 9500 (R300) - X1*00 (R5xx) supported up to Catalyst 9.3 (Linux) and 10.2 (XP/Vista/Win7)
1258 * - Radeon 7xxx (R100) - 9250 (RV250) supported up to Catalyst 6.11 (XP)
1259 * - Rage 128 supported up to XP, latest official build 6.13.3279 dated October 2001 */
1279 * - Geforce6 and newer cards are supported by the current driver (197.x) on XP-Win7
1673 * like client storage might be supported on other implementations too, but GL_APPLE_flush_render
1677 if (gl_info->supported[APPLE_FENCE]
1678 && gl_info->supported[APPLE_CLIENT_STORAGE]
1679 && gl_info->supported[APPLE_YCBCR_422])
1756 if (gl_info->supported[ARB_MULTITEXTURE])
1758 if (gl_info->supported[ARB_TEXTURE_COMPRESSION]
1759 && gl_info->supported[ARB_TEXTURE_CUBE_MAP]
1760 && gl_info->supported[ARB_TEXTURE_ENV_DOT3])
1762 if (level == 7 && gl_info->supported[ARB_MULTISAMPLE]
1763 && gl_info->supported[ARB_TEXTURE_BORDER_CLAMP])
1765 if (level == 8 && gl_info->supported[ARB_FRAGMENT_PROGRAM]
1766 && gl_info->supported[ARB_VERTEX_SHADER])
1768 if (level == 9 && gl_info->supported[EXT_GPU_SHADER4])
1882 if (d3d_level >= 9 && gl_info->supported[NV_VERTEX_PROGRAM3])
2402 if (d3d_level >= 9 && gl_info->supported[NV_VERTEX_PROGRAM3])
2557 /* Default to generic Nvidia hardware based on the supported OpenGL extensions. */
2575 if (shader_backend_ops == &arb_program_shader_backend && gl_info->supported[ARB_FRAGMENT_PROGRAM])
2577 if (gl_info->supported[ATI_FRAGMENT_SHADER])
2579 if (gl_info->supported[NV_REGISTER_COMBINERS] && gl_info->supported[NV_TEXTURE_SHADER2])
2581 if (gl_info->supported[NV_REGISTER_COMBINERS])
2590 if (glsl && gl_info->supported[ARB_FRAGMENT_SHADER])
2592 if (glsl && gl_info->supported[ARB_VERTEX_SHADER])
2598 if (gl_info->supported[NV_VERTEX_PROGRAM] && !gl_info->supported[NV_VERTEX_PROGRAM2])
2602 if (gl_info->supported[ARB_VERTEX_PROGRAM] || gl_info->supported[ARB_FRAGMENT_PROGRAM])
2612 && gl_info->supported[ARB_FRAGMENT_PROGRAM])
2644 gl_info->supported[map[i].extension] = TRUE;
2705 if (gl_info->supported[ARB_MAP_BUFFER_ALIGNMENT])
2714 if (gl_info->supported[NV_REGISTER_COMBINERS])
2720 if (gl_info->supported[ARB_DRAW_BUFFERS] && wined3d_settings.offscreen_rendering_mode == ORM_FBO)
2726 if (gl_info->supported[ARB_MULTITEXTURE])
2732 if (gl_info->supported[ARB_FRAGMENT_PROGRAM])
2748 if (gl_info->supported[ARB_VERTEX_SHADER])
2791 if (gl_info->supported[ARB_VERTEX_BLEND])
2797 if (gl_info->supported[EXT_TEXTURE3D])
2803 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
2809 if (gl_info->supported[ARB_FRAGMENT_PROGRAM])
2828 if (gl_info->supported[ARB_VERTEX_PROGRAM])
2844 if (gl_info->supported[ARB_VERTEX_SHADER])
2871 if (gl_info->supported[ARB_FRAGMENT_SHADER])
2902 if (gl_info->supported[NV_LIGHT_MAX_EXPONENT])
2907 if ((gl_info->supported[ARB_FRAMEBUFFER_OBJECT] || gl_info->supported[EXT_FRAMEBUFFER_MULTISAMPLE])
2961 /* Parse the gl supported features, in theory enabling parts of our code appropriately. */
2969 memset(gl_info->supported, 0, sizeof(gl_info->supported));
2970 gl_info->supported[WINED3D_GL_EXT_NONE] = TRUE;
2984 WARN("WGL extensions not supported.\n");
2989 if (!gl_info->supported[EXT_TEXTURE3D] && gl_version >= MAKEDWORD_VERSION(1, 2))
2994 gl_info->supported[EXT_TEXTURE3D] = TRUE;
2997 if (!gl_info->supported[NV_POINT_SPRITE] && gl_version >= MAKEDWORD_VERSION(1, 4))
3002 gl_info->supported[NV_POINT_SPRITE] = TRUE;
3005 if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] && gl_version >= MAKEDWORD_VERSION(2, 0))
3008 gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] = TRUE;
3011 if (gl_version >= MAKEDWORD_VERSION(2, 0)) gl_info->supported[WINED3D_GL_VERSION_2_0] = TRUE;
3013 if (gl_info->supported[APPLE_FENCE])
3019 gl_info->supported[NV_FENCE] = FALSE;
3021 if (gl_info->supported[APPLE_FLOAT_PIXELS])
3032 if (!gl_info->supported[ARB_TEXTURE_FLOAT])
3035 gl_info->supported[ARB_TEXTURE_FLOAT] = TRUE;
3037 if (!gl_info->supported[ARB_HALF_FLOAT_PIXEL])
3040 gl_info->supported[ARB_HALF_FLOAT_PIXEL] = TRUE;
3043 if (gl_info->supported[ARB_MAP_BUFFER_RANGE])
3047 gl_info->supported[APPLE_FLUSH_BUFFER_RANGE] = FALSE;
3049 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
3052 gl_info->supported[NV_TEXGEN_REFLECTION] = TRUE;
3054 if (!gl_info->supported[ARB_DEPTH_CLAMP] && gl_info->supported[NV_DEPTH_CLAMP])
3057 gl_info->supported[ARB_DEPTH_CLAMP] = TRUE;
3059 if (!gl_info->supported[ARB_VERTEX_ARRAY_BGRA] && gl_info->supported[EXT_VERTEX_ARRAY_BGRA])
3062 gl_info->supported[ARB_VERTEX_ARRAY_BGRA] = TRUE;
3064 if (!gl_info->supported[ARB_TEXTURE_COMPRESSION_RGTC] && gl_info->supported[EXT_TEXTURE_COMPRESSION_RGTC])
3067 gl_info->supported[ARB_TEXTURE_COMPRESSION_RGTC] = TRUE;
3069 if (gl_info->supported[NV_TEXTURE_SHADER2])
3071 if (gl_info->supported[NV_REGISTER_COMBINERS])
3074 * are supported. The nv extensions provide the same functionality as the
3076 gl_info->supported[ATI_FRAGMENT_SHADER] = FALSE;
3079 if (gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
3084 gl_info->supported[ARB_TEXTURE_RECTANGLE] = FALSE;
3086 if (gl_info->supported[ATI_FRAGMENT_SHADER])
3088 /* Disable NV_register_combiners and fragment shader if this is supported.
3091 * supported. So we reach this place only if we have incomplete NV dxlevel 8
3093 gl_info->supported[NV_REGISTER_COMBINERS] = FALSE;
3094 gl_info->supported[NV_REGISTER_COMBINERS2] = FALSE;
3095 gl_info->supported[NV_TEXTURE_SHADER] = FALSE;
3096 gl_info->supported[NV_TEXTURE_SHADER2] = FALSE;
3098 if (gl_info->supported[NV_HALF_FLOAT])
3101 gl_info->supported[ARB_HALF_FLOAT_VERTEX] = TRUE;
3103 if (gl_info->supported[ARB_FRAMEBUFFER_SRGB] && !gl_info->supported[EXT_TEXTURE_SRGB_DECODE])
3108 gl_info->supported[ARB_FRAMEBUFFER_SRGB] = FALSE;
3110 if (gl_info->supported[ARB_OCCLUSION_QUERY])
3117 gl_info->supported[ARB_OCCLUSION_QUERY] = FALSE;
3119 if (!gl_info->supported[ATI_TEXTURE_MIRROR_ONCE] && gl_info->supported[EXT_TEXTURE_MIRROR_CLAMP])
3122 gl_info->supported[ATI_TEXTURE_MIRROR_ONCE] = TRUE;
3124 if (!gl_info->supported[ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE] && gl_info->supported[ATI_TEXTURE_MIRROR_ONCE])
3127 gl_info->supported[ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE] = TRUE;
3132 if (gl_info->supported[ARB_VERTEX_PROGRAM] && test_arb_vs_offset_limit(gl_info))
3135 if (gl_info->supported[ARB_SHADING_LANGUAGE_100])
3170 if (gl_info->supported[ARB_FRAMEBUFFER_OBJECT])
3195 if (gl_info->supported[EXT_FRAMEBUFFER_OBJECT])
3218 WARN_(d3d_perf)("Framebuffer objects not supported, falling back to backbuffer offscreen rendering mode.\n");
3221 if (gl_info->supported[EXT_FRAMEBUFFER_BLIT])
3225 if (gl_info->supported[EXT_FRAMEBUFFER_MULTISAMPLE])
3241 gl_info->supported[ARB_TEXTURE_MIRRORED_REPEAT] ? GL_MIRRORED_REPEAT_ARB : GL_REPEAT;
3244 gl_info->supported[ARB_TEXTURE_BORDER_CLAMP] ? GL_CLAMP_TO_BORDER_ARB : GL_REPEAT;
3246 gl_info->supported[ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE] ? GL_MIRROR_CLAMP_TO_EDGE : GL_REPEAT;
3665 ERR("not supported!");
3855 TRACE("Returning not supported.\n");
3881 /* Blacklist formats not supported on Windows */
3886 TRACE("[FAILED] - not supported on windows.\n");
3997 /* All formats that are supported for textures are supported for surfaces
4002 /* All depth stencil formats are supported on surfaces */
4022 * show that wrapping is supported. The lack of filtering will sort out the
4050 if (!gl_info->supported[ARB_TEXTURE_CUBE_MAP])
4072 TRACE("[FAILED] - Not supported for plain surfaces.\n");
4083 && !gl_info->supported[ARB_SHADOW])
4109 if (!gl_info->supported[EXT_TEXTURE3D])
4198 TRACE("Requested WINED3DUSAGE_DEPTHSTENCIL, but format %s is not supported for depth / stencil buffers.\n",
4206 TRACE("Requested WINED3DUSAGE_RENDERTARGET, but format %s is not supported for render targets.\n",
4211 if ((usage & WINED3DUSAGE_AUTOGENMIPMAP) && !gl_info->supported[SGIS_GENERATE_MIPMAP])
4259 TRACE("Format %s is not supported as display format.\n", debug_d3dformat(display_format));
4354 if (gl_info->supported[SGIS_GENERATE_MIPMAP])
4397 if (gl_info->supported[EXT_BLEND_EQUATION_SEPARATE] && gl_info->supported[EXT_BLEND_FUNC_SEPARATE])
4399 if (gl_info->supported[EXT_DRAW_BUFFERS2])
4401 if (gl_info->supported[ARB_FRAMEBUFFER_SRGB])
4417 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
4457 /* NOTE: WINED3DPBLENDCAPS_SRCALPHASAT is not supported as dest blend factor,
4464 if (gl_info->supported[EXT_BLEND_COLOR])
4497 if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
4503 if (gl_info->supported[EXT_TEXTURE3D])
4507 if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
4513 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
4517 if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
4536 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
4542 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
4557 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
4568 if (gl_info->supported[EXT_TEXTURE3D])
4592 if (gl_info->supported[ARB_TEXTURE_BORDER_CLAMP])
4596 if (gl_info->supported[ARB_TEXTURE_MIRRORED_REPEAT])
4600 if (gl_info->supported[ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE])
4605 if (gl_info->supported[EXT_TEXTURE3D])
4610 if (gl_info->supported[ARB_TEXTURE_BORDER_CLAMP])
4614 if (gl_info->supported[ARB_TEXTURE_MIRRORED_REPEAT])
4618 if (gl_info->supported[ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE])
4633 /* WINED3DLINECAPS_ANTIALIAS is not supported on Windows, and dx and gl seem to have a different
4640 if (gl_info->supported[EXT_TEXTURE3D])
4662 if (gl_info->supported[EXT_STENCIL_WRAP])
4667 if (gl_info->supported[EXT_STENCIL_TWO_SIDE] || gl_info->supported[ATI_SEPARATE_STENCIL])
4827 if (gl_info->supported[ARB_HALF_FLOAT_VERTEX])
5012 WARN("GL_EXT_secondary_color not supported\n");
5064 if (gl_info->supported[EXT_SECONDARY_COLOR])
5073 if (gl_info->supported[EXT_SECONDARY_COLOR])
5133 if (gl_info->supported[NV_HALF_FLOAT])
5135 /* Not supported by ARB_HALF_FLOAT_VERTEX, so check for NV_HALF_FLOAT */
5150 if (gl_info->supported[WGL_ARB_PIXEL_FORMAT])
5197 if (gl_info->supported[ARB_MULTISAMPLE])
5205 * multisampling is supported. values[1] = number of