• Home
  • Raw
  • Download

Lines Matching full:extensions

215       ctx->Extensions.Version = ctx->Version;  in _mesa_override_gl_version()
244 * Examine enabled GL extensions to determine GL version.
247 compute_version(const struct gl_extensions *extensions, in compute_version() argument
252 const bool ver_1_3 = (extensions->ARB_texture_border_clamp && in compute_version()
253 extensions->ARB_texture_cube_map && in compute_version()
254 extensions->ARB_texture_env_combine && in compute_version()
255 extensions->ARB_texture_env_dot3); in compute_version()
257 extensions->ARB_depth_texture && in compute_version()
258 extensions->ARB_shadow && in compute_version()
259 extensions->ARB_texture_env_crossbar && in compute_version()
260 extensions->EXT_blend_color && in compute_version()
261 extensions->EXT_blend_func_separate && in compute_version()
262 extensions->EXT_blend_minmax && in compute_version()
263 extensions->EXT_point_parameters); in compute_version()
265 extensions->ARB_occlusion_query); in compute_version()
267 extensions->ARB_point_sprite && in compute_version()
268 extensions->ARB_vertex_shader && in compute_version()
269 extensions->ARB_fragment_shader && in compute_version()
270 extensions->ARB_texture_non_power_of_two && in compute_version()
271 extensions->EXT_blend_equation_separate && in compute_version()
272 extensions->EXT_stencil_two_side); in compute_version()
274 extensions->EXT_pixel_buffer_object && in compute_version()
275 extensions->EXT_texture_sRGB); in compute_version()
286 extensions->ARB_color_buffer_float) && in compute_version()
287 extensions->ARB_depth_buffer_float && in compute_version()
288 extensions->ARB_half_float_vertex && in compute_version()
289 extensions->ARB_map_buffer_range && in compute_version()
290 extensions->ARB_shader_texture_lod && in compute_version()
291 extensions->ARB_texture_float && in compute_version()
292 extensions->ARB_texture_rg && in compute_version()
293 extensions->ARB_texture_compression_rgtc && in compute_version()
294 extensions->EXT_draw_buffers2 && in compute_version()
295 extensions->ARB_framebuffer_object && in compute_version()
296 extensions->EXT_framebuffer_sRGB && in compute_version()
297 extensions->EXT_packed_float && in compute_version()
298 extensions->EXT_texture_array && in compute_version()
299 extensions->EXT_texture_shared_exponent && in compute_version()
300 extensions->EXT_transform_feedback && in compute_version()
301 extensions->NV_conditional_render); in compute_version()
304 extensions->ARB_draw_instanced && in compute_version()
305 extensions->ARB_texture_buffer_object && in compute_version()
306 extensions->ARB_uniform_buffer_object && in compute_version()
307 extensions->EXT_texture_snorm && in compute_version()
308 extensions->NV_primitive_restart && in compute_version()
309 extensions->NV_texture_rectangle && in compute_version()
313 extensions->ARB_depth_clamp && in compute_version()
314 extensions->ARB_draw_elements_base_vertex && in compute_version()
315 extensions->ARB_fragment_coord_conventions && in compute_version()
316 extensions->EXT_provoking_vertex && in compute_version()
317 extensions->ARB_seamless_cube_map && in compute_version()
318 extensions->ARB_sync && in compute_version()
319 extensions->ARB_texture_multisample && in compute_version()
320 extensions->EXT_vertex_array_bgra); in compute_version()
323 extensions->ARB_blend_func_extended && in compute_version()
324 extensions->ARB_explicit_attrib_location && in compute_version()
325 extensions->ARB_instanced_arrays && in compute_version()
326 extensions->ARB_occlusion_query2 && in compute_version()
327 extensions->ARB_shader_bit_encoding && in compute_version()
328 extensions->ARB_texture_rgb10_a2ui && in compute_version()
329 extensions->ARB_timer_query && in compute_version()
330 extensions->ARB_vertex_type_2_10_10_10_rev && in compute_version()
331 extensions->EXT_texture_swizzle); in compute_version()
336 extensions->ARB_draw_buffers_blend && in compute_version()
337 extensions->ARB_draw_indirect && in compute_version()
338 extensions->ARB_gpu_shader5 && in compute_version()
339 extensions->ARB_gpu_shader_fp64 && in compute_version()
340 extensions->ARB_sample_shading && in compute_version()
341 extensions->ARB_tessellation_shader && in compute_version()
342 extensions->ARB_texture_buffer_object_rgb32 && in compute_version()
343 extensions->ARB_texture_cube_map_array && in compute_version()
344 extensions->ARB_texture_query_lod && in compute_version()
345 extensions->ARB_transform_feedback2 && in compute_version()
346 extensions->ARB_transform_feedback3); in compute_version()
351 extensions->ARB_ES2_compatibility && in compute_version()
352 extensions->ARB_shader_precision && in compute_version()
353 extensions->ARB_vertex_attrib_64bit && in compute_version()
354 extensions->ARB_viewport_array); in compute_version()
357 extensions->ARB_base_instance && in compute_version()
358 extensions->ARB_conservative_depth && in compute_version()
359 extensions->ARB_internalformat_query && in compute_version()
360 extensions->ARB_shader_atomic_counters && in compute_version()
361 extensions->ARB_shader_image_load_store && in compute_version()
362 extensions->ARB_shading_language_420pack && in compute_version()
363 extensions->ARB_shading_language_packing && in compute_version()
364 extensions->ARB_texture_compression_bptc && in compute_version()
365 extensions->ARB_transform_feedback_instanced); in compute_version()
369 extensions->ARB_ES3_compatibility && in compute_version()
370 extensions->ARB_arrays_of_arrays && in compute_version()
371 extensions->ARB_compute_shader && in compute_version()
372 extensions->ARB_copy_image && in compute_version()
373 extensions->ARB_explicit_uniform_location && in compute_version()
374 extensions->ARB_fragment_layer_viewport && in compute_version()
375 extensions->ARB_framebuffer_no_attachments && in compute_version()
376 extensions->ARB_internalformat_query2 && in compute_version()
377 extensions->ARB_robust_buffer_access_behavior && in compute_version()
378 extensions->ARB_shader_image_size && in compute_version()
379 extensions->ARB_shader_storage_buffer_object && in compute_version()
380 extensions->ARB_stencil_texturing && in compute_version()
381 extensions->ARB_texture_buffer_range && in compute_version()
382 extensions->ARB_texture_query_levels && in compute_version()
383 extensions->ARB_texture_view); in compute_version()
387 extensions->ARB_buffer_storage && in compute_version()
388 extensions->ARB_clear_texture && in compute_version()
389 extensions->ARB_enhanced_layouts && in compute_version()
390 extensions->ARB_query_buffer_object && in compute_version()
391 extensions->ARB_texture_mirror_clamp_to_edge && in compute_version()
392 extensions->ARB_texture_stencil8 && in compute_version()
393 extensions->ARB_vertex_type_10f_11f_11f_rev); in compute_version()
396 extensions->ARB_ES3_1_compatibility && in compute_version()
397 extensions->ARB_clip_control && in compute_version()
398 extensions->ARB_conditional_render_inverted && in compute_version()
399 extensions->ARB_cull_distance && in compute_version()
400 extensions->ARB_derivative_control && in compute_version()
401 extensions->ARB_shader_texture_image_samples && in compute_version()
402 extensions->NV_texture_barrier); in compute_version()
405 extensions->ARB_gl_spirv && in compute_version()
406 extensions->ARB_spirv_extensions && in compute_version()
407 extensions->ARB_indirect_parameters && in compute_version()
408 extensions->ARB_pipeline_statistics_query && in compute_version()
409 extensions->ARB_polygon_offset_clamp && in compute_version()
410 extensions->ARB_shader_atomic_counter_ops && in compute_version()
411 extensions->ARB_shader_draw_parameters && in compute_version()
412 extensions->ARB_shader_group_vote && in compute_version()
413 extensions->ARB_texture_filter_anisotropic && in compute_version()
414 extensions->ARB_transform_feedback_overflow_query); in compute_version()
494 compute_version_es1(const struct gl_extensions *extensions) in compute_version_es1() argument
497 const bool ver_1_0 = (extensions->ARB_texture_env_combine && in compute_version_es1()
498 extensions->ARB_texture_env_dot3); in compute_version_es1()
501 extensions->EXT_point_parameters); in compute_version_es1()
513 compute_version_es2(const struct gl_extensions *extensions, in compute_version_es2() argument
517 const bool ver_2_0 = (extensions->ARB_texture_cube_map && in compute_version_es2()
518 extensions->EXT_blend_color && in compute_version_es2()
519 extensions->EXT_blend_func_separate && in compute_version_es2()
520 extensions->EXT_blend_minmax && in compute_version_es2()
521 extensions->ARB_vertex_shader && in compute_version_es2()
522 extensions->ARB_fragment_shader && in compute_version_es2()
523 extensions->ARB_texture_non_power_of_two && in compute_version_es2()
524 extensions->EXT_blend_equation_separate); in compute_version_es2()
526 const bool ver_3_0 = (extensions->ARB_half_float_vertex && in compute_version_es2()
527 extensions->ARB_internalformat_query && in compute_version_es2()
528 extensions->ARB_map_buffer_range && in compute_version_es2()
529 extensions->ARB_shader_texture_lod && in compute_version_es2()
530 extensions->OES_texture_float && in compute_version_es2()
531 extensions->OES_texture_half_float && in compute_version_es2()
532 extensions->OES_texture_half_float_linear && in compute_version_es2()
533 extensions->ARB_texture_rg && in compute_version_es2()
534 extensions->ARB_depth_buffer_float && in compute_version_es2()
535 extensions->ARB_framebuffer_object && in compute_version_es2()
536 extensions->EXT_sRGB && in compute_version_es2()
537 extensions->EXT_packed_float && in compute_version_es2()
538 extensions->EXT_texture_array && in compute_version_es2()
539 extensions->EXT_texture_shared_exponent && in compute_version_es2()
540 extensions->EXT_texture_sRGB && in compute_version_es2()
541 extensions->EXT_transform_feedback && in compute_version_es2()
542 extensions->ARB_draw_instanced && in compute_version_es2()
543 extensions->ARB_uniform_buffer_object && in compute_version_es2()
544 extensions->EXT_texture_snorm && in compute_version_es2()
545 (extensions->NV_primitive_restart || in compute_version_es2()
547 extensions->OES_depth_texture_cube_map && in compute_version_es2()
548 extensions->EXT_texture_type_2_10_10_10_REV && in compute_version_es2()
557 extensions->ARB_arrays_of_arrays && in compute_version_es2()
559 extensions->ARB_draw_indirect && in compute_version_es2()
560 extensions->ARB_explicit_uniform_location && in compute_version_es2()
561 extensions->ARB_framebuffer_no_attachments && in compute_version_es2()
562 extensions->ARB_shading_language_packing && in compute_version_es2()
563 extensions->ARB_stencil_texturing && in compute_version_es2()
564 extensions->ARB_texture_multisample && in compute_version_es2()
565 extensions->ARB_texture_gather && in compute_version_es2()
566 extensions->MESA_shader_integer_functions && in compute_version_es2()
567 extensions->EXT_shader_integer_mix); in compute_version_es2()
572 extensions->ARB_shader_atomic_counters && in compute_version_es2()
573 extensions->ARB_shader_image_load_store && in compute_version_es2()
574 extensions->ARB_shader_image_size && in compute_version_es2()
575 extensions->ARB_shader_storage_buffer_object && in compute_version_es2()
577 extensions->EXT_draw_buffers2 && in compute_version_es2()
578 extensions->KHR_blend_equation_advanced && in compute_version_es2()
579 extensions->KHR_robustness && in compute_version_es2()
580 extensions->KHR_texture_compression_astc_ldr && in compute_version_es2()
581 extensions->OES_copy_image && in compute_version_es2()
582 extensions->ARB_draw_buffers_blend && in compute_version_es2()
583 extensions->ARB_draw_elements_base_vertex && in compute_version_es2()
584 extensions->OES_geometry_shader && in compute_version_es2()
585 extensions->OES_primitive_bounding_box && in compute_version_es2()
586 extensions->OES_sample_variables && in compute_version_es2()
587 extensions->ARB_tessellation_shader && in compute_version_es2()
588 extensions->ARB_texture_border_clamp && in compute_version_es2()
589 extensions->OES_texture_buffer && in compute_version_es2()
590 extensions->OES_texture_cube_map_array && in compute_version_es2()
591 extensions->ARB_texture_stencil8); in compute_version_es2()
607 _mesa_get_version(const struct gl_extensions *extensions, in _mesa_get_version() argument
619 return compute_version(extensions, consts, api); in _mesa_get_version()
621 return compute_version_es1(extensions); in _mesa_get_version()
623 return compute_version_es2(extensions, consts); in _mesa_get_version()
639 ctx->Version = _mesa_get_version(&ctx->Extensions, &ctx->Const, ctx->API); in _mesa_compute_version()
640 ctx->Extensions.Version = ctx->Version; in _mesa_compute_version()
693 ctx->Extensions.ARB_compatibility = GL_TRUE; in _mesa_compute_version()
788 ctx->Extensions.ARB_ES3_2_compatibility) in _mesa_get_shading_language_version()
790 if (_mesa_is_gles31(ctx) || ctx->Extensions.ARB_ES3_1_compatibility) in _mesa_get_shading_language_version()
792 if (_mesa_is_gles3(ctx) || ctx->Extensions.ARB_ES3_compatibility) in _mesa_get_shading_language_version()
794 if (ctx->API == API_OPENGLES2 || ctx->Extensions.ARB_ES2_compatibility) in _mesa_get_shading_language_version()