Lines Matching full:extensions
207 ctx->Extensions.Version = ctx->Version; in _mesa_override_gl_version()
236 * Examine enabled GL extensions to determine GL version.
239 compute_version(const struct gl_extensions *extensions, in compute_version() argument
244 const bool ver_1_3 = (extensions->ARB_texture_border_clamp && in compute_version()
245 extensions->ARB_texture_cube_map && in compute_version()
246 extensions->ARB_texture_env_combine && in compute_version()
247 extensions->ARB_texture_env_dot3); in compute_version()
249 extensions->ARB_depth_texture && in compute_version()
250 extensions->ARB_shadow && in compute_version()
251 extensions->ARB_texture_env_crossbar && in compute_version()
252 extensions->EXT_blend_color && in compute_version()
253 extensions->EXT_blend_func_separate && in compute_version()
254 extensions->EXT_blend_minmax && in compute_version()
255 extensions->EXT_point_parameters); in compute_version()
257 extensions->ARB_occlusion_query); in compute_version()
259 extensions->ARB_point_sprite && in compute_version()
260 extensions->ARB_vertex_shader && in compute_version()
261 extensions->ARB_fragment_shader && in compute_version()
262 extensions->ARB_texture_non_power_of_two && in compute_version()
263 extensions->EXT_blend_equation_separate && in compute_version()
271 (extensions->EXT_stencil_two_side in compute_version()
272 || extensions->ATI_separate_stencil)); in compute_version()
274 extensions->EXT_pixel_buffer_object && in compute_version()
275 extensions->EXT_texture_sRGB); in compute_version()
280 extensions->ARB_color_buffer_float) && in compute_version()
281 extensions->ARB_depth_buffer_float && in compute_version()
282 extensions->ARB_half_float_vertex && in compute_version()
283 extensions->ARB_map_buffer_range && in compute_version()
284 extensions->ARB_shader_texture_lod && in compute_version()
285 extensions->ARB_texture_float && in compute_version()
286 extensions->ARB_texture_rg && in compute_version()
287 extensions->ARB_texture_compression_rgtc && in compute_version()
288 extensions->EXT_draw_buffers2 && in compute_version()
289 extensions->ARB_framebuffer_object && in compute_version()
290 extensions->EXT_framebuffer_sRGB && in compute_version()
291 extensions->EXT_packed_float && in compute_version()
292 extensions->EXT_texture_array && in compute_version()
293 extensions->EXT_texture_shared_exponent && in compute_version()
294 extensions->EXT_transform_feedback && in compute_version()
295 extensions->NV_conditional_render); in compute_version()
298 extensions->ARB_draw_instanced && in compute_version()
299 extensions->ARB_texture_buffer_object && in compute_version()
300 extensions->ARB_uniform_buffer_object && in compute_version()
301 extensions->EXT_texture_snorm && in compute_version()
302 extensions->NV_primitive_restart && in compute_version()
303 extensions->NV_texture_rectangle && in compute_version()
307 extensions->ARB_depth_clamp && in compute_version()
308 extensions->ARB_draw_elements_base_vertex && in compute_version()
309 extensions->ARB_fragment_coord_conventions && in compute_version()
310 extensions->EXT_provoking_vertex && in compute_version()
311 extensions->ARB_seamless_cube_map && in compute_version()
312 extensions->ARB_sync && in compute_version()
313 extensions->ARB_texture_multisample && in compute_version()
314 extensions->EXT_vertex_array_bgra); in compute_version()
317 extensions->ARB_blend_func_extended && in compute_version()
318 extensions->ARB_explicit_attrib_location && in compute_version()
319 extensions->ARB_instanced_arrays && in compute_version()
320 extensions->ARB_occlusion_query2 && in compute_version()
321 extensions->ARB_shader_bit_encoding && in compute_version()
322 extensions->ARB_texture_rgb10_a2ui && in compute_version()
323 extensions->ARB_timer_query && in compute_version()
324 extensions->ARB_vertex_type_2_10_10_10_rev && in compute_version()
325 extensions->EXT_texture_swizzle); in compute_version()
330 extensions->ARB_draw_buffers_blend && in compute_version()
331 extensions->ARB_draw_indirect && in compute_version()
332 extensions->ARB_gpu_shader5 && in compute_version()
333 extensions->ARB_gpu_shader_fp64 && in compute_version()
334 extensions->ARB_sample_shading && in compute_version()
335 extensions->ARB_tessellation_shader && in compute_version()
336 extensions->ARB_texture_buffer_object_rgb32 && in compute_version()
337 extensions->ARB_texture_cube_map_array && in compute_version()
338 extensions->ARB_texture_query_lod && in compute_version()
339 extensions->ARB_transform_feedback2 && in compute_version()
340 extensions->ARB_transform_feedback3); in compute_version()
343 extensions->ARB_ES2_compatibility && in compute_version()
344 extensions->ARB_shader_precision && in compute_version()
345 extensions->ARB_vertex_attrib_64bit && in compute_version()
346 extensions->ARB_viewport_array); in compute_version()
349 extensions->ARB_base_instance && in compute_version()
350 extensions->ARB_conservative_depth && in compute_version()
351 extensions->ARB_internalformat_query && in compute_version()
352 extensions->ARB_shader_atomic_counters && in compute_version()
353 extensions->ARB_shader_image_load_store && in compute_version()
354 extensions->ARB_shading_language_420pack && in compute_version()
355 extensions->ARB_shading_language_packing && in compute_version()
356 extensions->ARB_texture_compression_bptc && in compute_version()
357 extensions->ARB_transform_feedback_instanced); in compute_version()
361 extensions->ARB_ES3_compatibility && in compute_version()
362 extensions->ARB_arrays_of_arrays && in compute_version()
363 extensions->ARB_compute_shader && in compute_version()
364 extensions->ARB_copy_image && in compute_version()
365 extensions->ARB_explicit_uniform_location && in compute_version()
366 extensions->ARB_fragment_layer_viewport && in compute_version()
367 extensions->ARB_framebuffer_no_attachments && in compute_version()
368 extensions->ARB_internalformat_query2 && in compute_version()
369 extensions->ARB_robust_buffer_access_behavior && in compute_version()
370 extensions->ARB_shader_image_size && in compute_version()
371 extensions->ARB_shader_storage_buffer_object && in compute_version()
372 extensions->ARB_stencil_texturing && in compute_version()
373 extensions->ARB_texture_buffer_range && in compute_version()
374 extensions->ARB_texture_query_levels && in compute_version()
375 extensions->ARB_texture_view); in compute_version()
378 extensions->ARB_buffer_storage && in compute_version()
379 extensions->ARB_clear_texture && in compute_version()
380 extensions->ARB_enhanced_layouts && in compute_version()
381 extensions->ARB_query_buffer_object && in compute_version()
382 extensions->ARB_texture_mirror_clamp_to_edge && in compute_version()
383 extensions->ARB_texture_stencil8 && in compute_version()
384 extensions->ARB_vertex_type_10f_11f_11f_rev); in compute_version()
387 extensions->ARB_ES3_1_compatibility && in compute_version()
388 extensions->ARB_clip_control && in compute_version()
389 extensions->ARB_conditional_render_inverted && in compute_version()
390 extensions->ARB_cull_distance && in compute_version()
391 extensions->ARB_derivative_control && in compute_version()
392 extensions->ARB_shader_texture_image_samples && in compute_version()
393 extensions->NV_texture_barrier); in compute_version()
396 /* extensions->ARB_gl_spirv */ 0 && in compute_version()
397 /* extensions->ARB_spirv_extensions */ 0 && in compute_version()
398 extensions->ARB_indirect_parameters && in compute_version()
399 extensions->ARB_pipeline_statistics_query && in compute_version()
400 extensions->ARB_polygon_offset_clamp && in compute_version()
401 extensions->ARB_shader_atomic_counter_ops && in compute_version()
402 extensions->ARB_shader_draw_parameters && in compute_version()
403 extensions->ARB_shader_group_vote && in compute_version()
404 extensions->ARB_texture_filter_anisotropic && in compute_version()
405 extensions->ARB_transform_feedback_overflow_query); in compute_version()
485 compute_version_es1(const struct gl_extensions *extensions) in compute_version_es1() argument
488 const bool ver_1_0 = (extensions->ARB_texture_env_combine && in compute_version_es1()
489 extensions->ARB_texture_env_dot3); in compute_version_es1()
492 extensions->EXT_point_parameters); in compute_version_es1()
504 compute_version_es2(const struct gl_extensions *extensions, in compute_version_es2() argument
508 const bool ver_2_0 = (extensions->ARB_texture_cube_map && in compute_version_es2()
509 extensions->EXT_blend_color && in compute_version_es2()
510 extensions->EXT_blend_func_separate && in compute_version_es2()
511 extensions->EXT_blend_minmax && in compute_version_es2()
512 extensions->ARB_vertex_shader && in compute_version_es2()
513 extensions->ARB_fragment_shader && in compute_version_es2()
514 extensions->ARB_texture_non_power_of_two && in compute_version_es2()
515 extensions->EXT_blend_equation_separate); in compute_version_es2()
517 const bool ver_3_0 = (extensions->ARB_half_float_vertex && in compute_version_es2()
518 extensions->ARB_internalformat_query && in compute_version_es2()
519 extensions->ARB_map_buffer_range && in compute_version_es2()
520 extensions->ARB_shader_texture_lod && in compute_version_es2()
521 extensions->ARB_texture_float && in compute_version_es2()
522 extensions->ARB_texture_rg && in compute_version_es2()
523 extensions->ARB_depth_buffer_float && in compute_version_es2()
524 /* extensions->ARB_framebuffer_object && */ in compute_version_es2()
525 extensions->EXT_framebuffer_sRGB && in compute_version_es2()
526 extensions->EXT_packed_float && in compute_version_es2()
527 extensions->EXT_texture_array && in compute_version_es2()
528 extensions->EXT_texture_shared_exponent && in compute_version_es2()
529 extensions->EXT_transform_feedback && in compute_version_es2()
530 extensions->ARB_draw_instanced && in compute_version_es2()
531 extensions->ARB_uniform_buffer_object && in compute_version_es2()
532 extensions->EXT_texture_snorm && in compute_version_es2()
533 extensions->NV_primitive_restart && in compute_version_es2()
534 extensions->OES_depth_texture_cube_map); in compute_version_es2()
538 extensions->ARB_arrays_of_arrays && in compute_version_es2()
540 extensions->ARB_draw_indirect && in compute_version_es2()
541 extensions->ARB_explicit_uniform_location && in compute_version_es2()
542 extensions->ARB_framebuffer_no_attachments && in compute_version_es2()
543 extensions->ARB_shader_atomic_counters && in compute_version_es2()
544 extensions->ARB_shader_image_load_store && in compute_version_es2()
545 extensions->ARB_shader_image_size && in compute_version_es2()
546 extensions->ARB_shader_storage_buffer_object && in compute_version_es2()
547 extensions->ARB_shading_language_packing && in compute_version_es2()
548 extensions->ARB_stencil_texturing && in compute_version_es2()
549 extensions->ARB_texture_multisample && in compute_version_es2()
550 extensions->ARB_gpu_shader5 && in compute_version_es2()
551 extensions->EXT_shader_integer_mix); in compute_version_es2()
553 extensions->EXT_draw_buffers2 && in compute_version_es2()
554 extensions->KHR_blend_equation_advanced && in compute_version_es2()
555 extensions->KHR_robustness && in compute_version_es2()
556 extensions->KHR_texture_compression_astc_ldr && in compute_version_es2()
557 extensions->OES_copy_image && in compute_version_es2()
558 extensions->ARB_draw_buffers_blend && in compute_version_es2()
559 extensions->ARB_draw_elements_base_vertex && in compute_version_es2()
560 extensions->OES_geometry_shader && in compute_version_es2()
561 extensions->OES_primitive_bounding_box && in compute_version_es2()
562 extensions->OES_sample_variables && in compute_version_es2()
563 extensions->ARB_tessellation_shader && in compute_version_es2()
564 extensions->ARB_texture_border_clamp && in compute_version_es2()
565 extensions->OES_texture_buffer && in compute_version_es2()
566 extensions->OES_texture_cube_map_array && in compute_version_es2()
567 extensions->ARB_texture_stencil8); in compute_version_es2()
583 _mesa_get_version(const struct gl_extensions *extensions, in _mesa_get_version() argument
597 return compute_version(extensions, consts, api); in _mesa_get_version()
599 return compute_version_es1(extensions); in _mesa_get_version()
601 return compute_version_es2(extensions, consts); in _mesa_get_version()
617 ctx->Version = _mesa_get_version(&ctx->Extensions, &ctx->Const, ctx->API); in _mesa_compute_version()
618 ctx->Extensions.Version = ctx->Version; in _mesa_compute_version()
724 ctx->Extensions.ARB_ES3_2_compatibility) in _mesa_get_shading_language_version()
726 if (_mesa_is_gles31(ctx) || ctx->Extensions.ARB_ES3_1_compatibility) in _mesa_get_shading_language_version()
728 if (_mesa_is_gles3(ctx) || ctx->Extensions.ARB_ES3_compatibility) in _mesa_get_shading_language_version()
730 if (ctx->API == API_OPENGLES2 || ctx->Extensions.ARB_ES2_compatibility) in _mesa_get_shading_language_version()