Lines Matching refs:supported

493      * like client storage might be supported on other implementations too, but GL_APPLE_flush_render
531 if (!gl_info->supported[ARB_PIXEL_BUFFER_OBJECT]) return;
568 gl_info->supported[ARB_PIXEL_BUFFER_OBJECT] = FALSE;
618 if (!gl_info->supported[EXT_SECONDARY_COLOR]) return FALSE;
643 return gl_info->supported[NV_TEXTURE_SHADER];
660 if (!gl_info->supported[NV_VERTEX_PROGRAM2_OPTION]) return FALSE;
780 if (gl_info->supported[ARB_POINT_SPRITE])
800 * has this extension promoted to core. The extension loading code sets this extension supported
802 if(gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
805 gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] = FALSE;
806 gl_info->supported[WINE_NORMALIZED_TEXRECT] = TRUE;
819 * This usually means that ARB_tex_npot is supported in hardware as long as the application is staying
822 * We therefore completely remove ARB_tex_npot from the list of supported extensions.
832 gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] = FALSE;
833 gl_info->supported[ARB_TEXTURE_RECTANGLE] = TRUE;
867 gl_info->supported[NV_TEXTURE_SHADER] = FALSE;
868 gl_info->supported[NV_TEXTURE_SHADER2] = FALSE;
942 /* MacOS advertises more GLSL vertex shader uniforms than supported by the hardware, and if more are
1065 /* Nvidia drivers. Geforce6 and newer cards are supported by the current driver (180.x)
1269 * like client storage might be supported on other implementations too, but GL_APPLE_flush_render
1273 if (gl_info->supported[APPLE_FENCE]
1274 && gl_info->supported[APPLE_CLIENT_STORAGE]
1275 && gl_info->supported[APPLE_FLUSH_RENDER]
1276 && gl_info->supported[APPLE_YCBCR_422])
1457 if (WINE_D3D9_CAPABLE(gl_info) && gl_info->supported[NV_VERTEX_PROGRAM3])
2124 /* Default to generic Nvidia hardware based on the supported OpenGL extensions. The choice
2148 && gl_info->supported[ARB_FRAGMENT_PROGRAM]) return &arbfp_fragment_pipeline;
2150 else if (gl_info->supported[NV_REGISTER_COMBINERS]
2151 && gl_info->supported[NV_TEXTURE_SHADER2]) return &nvts_fragment_pipeline;
2152 else if (gl_info->supported[NV_REGISTER_COMBINERS]) return &nvrc_fragment_pipeline;
2173 && gl_info->supported[ARB_FRAGMENT_PROGRAM]) return &arbfp_blit;
2234 memset(gl_info->supported, 0, sizeof(gl_info->supported));
2271 /* Parse the gl supported features, in theory enabling parts of our code appropriately. */
2284 gl_info->supported[WINED3D_GL_EXT_NONE] = TRUE;
2286 gl_info->supported[VBOX_SHARED_CONTEXTS] = TRUE;
2309 gl_info->supported[EXTENSION_MAP[i].extension] = TRUE;
2319 if (gl_info->supported[ext]) gl_info->pfn = (type)pwglGetProcAddress(#pfn); \
2332 /* Now mark all the extensions supported which are included in the opengl core version. Do this *after*
2337 if (!gl_info->supported[EXTENSION_MAP[i].extension]
2341 gl_info->supported[EXTENSION_MAP[i].extension] = TRUE;
2345 if (gl_info->supported[APPLE_FENCE])
2351 gl_info->supported[NV_FENCE] = FALSE;
2353 if (gl_info->supported[APPLE_FLOAT_PIXELS])
2364 if (!gl_info->supported[ARB_TEXTURE_FLOAT])
2367 gl_info->supported[ARB_TEXTURE_FLOAT] = TRUE;
2369 if (!gl_info->supported[ARB_HALF_FLOAT_PIXEL])
2372 gl_info->supported[ARB_HALF_FLOAT_PIXEL] = TRUE;
2375 if (gl_info->supported[ARB_MAP_BUFFER_RANGE])
2379 gl_info->supported[APPLE_FLUSH_BUFFER_RANGE] = FALSE;
2381 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
2384 gl_info->supported[NV_TEXGEN_REFLECTION] = TRUE;
2386 if (!gl_info->supported[ARB_DEPTH_CLAMP] && gl_info->supported[NV_DEPTH_CLAMP])
2389 gl_info->supported[ARB_DEPTH_CLAMP] = TRUE;
2391 if (!gl_info->supported[ARB_VERTEX_ARRAY_BGRA] && gl_info->supported[EXT_VERTEX_ARRAY_BGRA])
2394 gl_info->supported[ARB_VERTEX_ARRAY_BGRA] = TRUE;
2396 if (gl_info->supported[NV_TEXTURE_SHADER2])
2398 if (gl_info->supported[NV_REGISTER_COMBINERS])
2401 * are supported. The nv extensions provide the same functionality as the
2403 gl_info->supported[ATI_FRAGMENT_SHADER] = FALSE;
2407 if (gl_info->supported[NV_REGISTER_COMBINERS])
2413 if (gl_info->supported[ARB_DRAW_BUFFERS])
2419 if (gl_info->supported[ARB_MULTITEXTURE])
2425 if (gl_info->supported[ARB_FRAGMENT_PROGRAM])
2437 if (gl_info->supported[ARB_VERTEX_SHADER])
2478 if (gl_info->supported[ARB_VERTEX_BLEND])
2484 if (gl_info->supported[EXT_TEXTURE3D])
2490 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
2496 if (gl_info->supported[ARB_FRAGMENT_PROGRAM])
2515 if (gl_info->supported[ARB_VERTEX_PROGRAM])
2533 if (gl_info->supported[ARB_VERTEX_SHADER])
2560 if (gl_info->supported[ARB_FRAGMENT_SHADER])
2590 if (gl_info->supported[ARB_SHADING_LANGUAGE_100])
2601 if (gl_info->supported[NV_LIGHT_MAX_EXPONENT])
2609 if (gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
2614 gl_info->supported[ARB_TEXTURE_RECTANGLE] = FALSE;
2616 if (gl_info->supported[ATI_FRAGMENT_SHADER])
2618 /* Disable NV_register_combiners and fragment shader if this is supported.
2621 * supported. So we reach this place only if we have incomplete NV dxlevel 8
2623 gl_info->supported[NV_REGISTER_COMBINERS] = FALSE;
2624 gl_info->supported[NV_REGISTER_COMBINERS2] = FALSE;
2625 gl_info->supported[NV_TEXTURE_SHADER] = FALSE;
2626 gl_info->supported[NV_TEXTURE_SHADER2] = FALSE;
2628 if (gl_info->supported[NV_HALF_FLOAT])
2631 gl_info->supported[ARB_HALF_FLOAT_VERTEX] = TRUE;
2633 if (gl_info->supported[ARB_POINT_SPRITE])
2658 if (gl_info->supported[ARB_FRAMEBUFFER_OBJECT])
2682 if (gl_info->supported[EXT_FRAMEBUFFER_OBJECT])
2704 WARN_(d3d_caps)("Framebuffer objects not supported, falling back to backbuffer offscreen rendering mode.\n");
2707 if (gl_info->supported[EXT_FRAMEBUFFER_BLIT])
2711 if (gl_info->supported[EXT_FRAMEBUFFER_MULTISAMPLE])
2717 /* MRTs are currently only supported when FBOs are used. */
2738 gl_info->supported[ARB_TEXTURE_MIRRORED_REPEAT] ? GL_MIRRORED_REPEAT_ARB : GL_REPEAT;
2741 gl_info->supported[ARB_TEXTURE_BORDER_CLAMP] ? GL_CLAMP_TO_BORDER_ARB : GL_REPEAT;
2743 gl_info->supported[ATI_TEXTURE_MIRROR_ONCE] ? GL_MIRROR_CLAMP_TO_EDGE_ATI : GL_REPEAT;
2775 gl_info->supported[WGL_ARB_PIXEL_FORMAT] = TRUE;
2779 gl_info->supported[WGL_WINE_PIXEL_FORMAT_PASSTHROUGH] = TRUE;
3243 TRACE("(%p) Failed: Atapter (%u) higher than supported adapters (%u) returning WINED3DERR_INVALIDCALL\n", This, Adapter, IWineD3D_GetAdapterCount(iface));
3577 /* Check for supported sRGB formats (Texture loading and framebuffer) */
3578 if (!gl_info->supported[EXT_TEXTURE_SRGB])
3580 TRACE_(d3d_caps)("[FAILED] GL_EXT_texture_sRGB not supported\n");
3600 TRACE_(d3d_caps)("[FAILED] Gamma texture format %s not supported.\n", debug_d3dformat(format_desc->format));
3643 * that wrapping is supported. The lack of filtering will sort out the mipmapping
3652 /* Check if a texture format is supported on the given adapter */
3661 * supported: RGB(A) formats
3681 TRACE_(d3d_caps)("[FAILED] - Not supported on Windows\n");
3685 * Not supported: Palettized
3703 /* Not supported on Windows, thus disabled */
3705 TRACE_(d3d_caps)("[FAILED] - not supported on windows\n");
3723 * Not supported everywhere(depends on GL_ATI_envmap_bumpmap or
3747 if (gl_info->supported[EXT_TEXTURE_COMPRESSION_S3TC])
3757 * Odd formats - not supported
3769 * WINED3DFMT_R8G8_SNORM_Cx: Not supported right now
3778 if (gl_info->supported[APPLE_YCBCR_422])
3789 /* Not supported */
3799 if (gl_info->supported[ARB_TEXTURE_FLOAT] && gl_info->supported[ARB_HALF_FLOAT_PIXEL])
3810 if (gl_info->supported[ARB_TEXTURE_FLOAT])
3830 if (gl_info->supported[ARB_VERTEX_PROGRAM] || gl_info->supported[ARB_VERTEX_SHADER])
3847 if (gl_info->supported[ATI_TEXTURE_COMPRESSION_3DC]
3848 || gl_info->supported[EXT_TEXTURE_COMPRESSION_RGTC])
3918 /* All format that are supported for textures are supported for surfaces as well */
3920 /* All depth stencil formats are supported on surfaces */
3951 if (!gl_info->supported[ARB_TEXTURE_FLOAT])
4006 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
4013 if (gl_info->supported[SGIS_GENERATE_MIPMAP])
4106 TRACE_(d3d_caps)("[FAILED] - Cube texture format not supported\n");
4153 TRACE_(d3d_caps)("[FAILED] - Not supported for plain surfaces\n");
4180 if (gl_info->supported[SGIS_GENERATE_MIPMAP])
4294 TRACE_(d3d_caps)("[FAILED] - Texture format not supported\n");
4314 if (gl_info->supported[EXT_TEXTURE3D])
4318 TRACE_(d3d_caps)("[FAILED] - Format not supported\n");
4419 if (!gl_info->supported[NV_TEXTURE_SHADER])
4427 if (!gl_info->supported[NV_TEXTURE_SHADER])
4452 /* For instance vertexbuffer/indexbuffer aren't supported yet because no Windows drivers seem to offer it */
4505 pCaps->DeviceType = (DeviceType == WINED3DDEVTYPE_HAL) ? WINED3DDEVTYPE_HAL : WINED3DDEVTYPE_REF; /* Not quite true, but use h/w supported by opengl I suppose */
4512 if (gl_info->supported[SGIS_GENERATE_MIPMAP])
4558 if (gl_info->supported[EXT_BLEND_EQUATION_SEPARATE] && gl_info->supported[EXT_BLEND_FUNC_SEPARATE])
4560 if (gl_info->supported[EXT_DRAW_BUFFERS2])
4576 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
4582 if (gl_info->supported[NV_FOG_DISTANCE])
4626 /* NOTE: WINED3DPBLENDCAPS_SRCALPHASAT is not supported as dest blend factor,
4633 if (gl_info->supported[EXT_BLEND_COLOR])
4666 if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
4672 if (gl_info->supported[EXT_TEXTURE3D])
4679 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
4700 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
4706 if (gl_info->supported[ARB_TEXTURE_CUBE_MAP])
4721 if (gl_info->supported[EXT_TEXTURE_FILTER_ANISOTROPIC])
4729 if (gl_info->supported[EXT_TEXTURE3D])
4750 if (gl_info->supported[ARB_TEXTURE_BORDER_CLAMP])
4754 if (gl_info->supported[ARB_TEXTURE_MIRRORED_REPEAT])
4758 if (gl_info->supported[ATI_TEXTURE_MIRROR_ONCE])
4763 if (gl_info->supported[EXT_TEXTURE3D])
4768 if (gl_info->supported[ARB_TEXTURE_BORDER_CLAMP])
4772 if (gl_info->supported[ARB_TEXTURE_MIRRORED_REPEAT])
4776 if (gl_info->supported[ATI_TEXTURE_MIRROR_ONCE])
4788 /* WINED3DLINECAPS_ANTIALIAS is not supported on Windows, and dx and gl seem to have a different
4795 if (gl_info->supported[EXT_TEXTURE3D])
4817 if (gl_info->supported[EXT_STENCIL_WRAP])
4822 if (gl_info->supported[EXT_STENCIL_TWO_SIDE] || gl_info->supported[ATI_SEPARATE_STENCIL])
4996 if (gl_info->supported[ARB_HALF_FLOAT_VERTEX])
5188 WARN("GL_EXT_secondary_color not supported\n");
5232 if (gl_info->supported[EXT_SECONDARY_COLOR])
5241 if (gl_info->supported[EXT_SECONDARY_COLOR])
5299 if (gl_info->supported[NV_HALF_FLOAT])
5301 /* Not supported by ARB_HALF_FLOAT_VERTEX, so check for NV_HALF_FLOAT */
5476 if (gl_info->supported[WGL_ARB_PIXEL_FORMAT])
5523 if (gl_info->supported[ARB_MULTISAMPLE])
5528 /* value[0] = WGL_SAMPLE_BUFFERS_ARB which tells whether multisampling is supported.