Lines Matching full:extensions
217 ctx->Extensions.Version = ctx->Version; in _mesa_override_gl_version()
246 * Examine enabled GL extensions to determine GL version.
249 compute_version(const struct gl_extensions *extensions, in compute_version() argument
254 const bool ver_1_4 = (extensions->ARB_shadow); in compute_version()
257 extensions->ARB_vertex_shader && in compute_version()
258 extensions->ARB_fragment_shader && in compute_version()
259 extensions->ARB_texture_non_power_of_two && in compute_version()
260 extensions->EXT_blend_equation_separate && in compute_version()
261 extensions->EXT_stencil_two_side); in compute_version()
263 extensions->EXT_texture_sRGB); in compute_version()
274 extensions->ARB_color_buffer_float) && in compute_version()
275 extensions->ARB_depth_buffer_float && in compute_version()
276 extensions->ARB_half_float_vertex && in compute_version()
277 extensions->ARB_map_buffer_range && in compute_version()
278 extensions->ARB_shader_texture_lod && in compute_version()
279 extensions->ARB_texture_float && in compute_version()
280 extensions->ARB_texture_rg && in compute_version()
281 extensions->ARB_texture_compression_rgtc && in compute_version()
282 extensions->EXT_draw_buffers2 && in compute_version()
283 extensions->ARB_framebuffer_object && in compute_version()
284 extensions->EXT_framebuffer_sRGB && in compute_version()
285 extensions->EXT_packed_float && in compute_version()
286 extensions->EXT_texture_array && in compute_version()
287 extensions->EXT_texture_integer && in compute_version()
288 extensions->EXT_texture_shared_exponent && in compute_version()
289 extensions->EXT_transform_feedback && in compute_version()
290 extensions->NV_conditional_render); in compute_version()
293 extensions->ARB_draw_instanced && in compute_version()
294 extensions->ARB_texture_buffer_object && in compute_version()
295 extensions->ARB_uniform_buffer_object && in compute_version()
296 extensions->EXT_texture_snorm && in compute_version()
297 extensions->NV_primitive_restart && in compute_version()
298 extensions->NV_texture_rectangle && in compute_version()
302 extensions->ARB_depth_clamp && in compute_version()
303 extensions->ARB_draw_elements_base_vertex && in compute_version()
304 extensions->ARB_fragment_coord_conventions && in compute_version()
305 extensions->EXT_provoking_vertex && in compute_version()
306 extensions->ARB_seamless_cube_map && in compute_version()
307 extensions->ARB_sync && in compute_version()
308 extensions->ARB_texture_multisample && in compute_version()
309 extensions->EXT_vertex_array_bgra); in compute_version()
312 extensions->ARB_blend_func_extended && in compute_version()
313 extensions->ARB_explicit_attrib_location && in compute_version()
314 extensions->ARB_instanced_arrays && in compute_version()
315 extensions->ARB_shader_bit_encoding && in compute_version()
316 extensions->ARB_texture_rgb10_a2ui && in compute_version()
317 extensions->ARB_timer_query && in compute_version()
318 extensions->ARB_vertex_type_2_10_10_10_rev && in compute_version()
319 extensions->EXT_texture_swizzle); in compute_version()
324 extensions->ARB_draw_buffers_blend && in compute_version()
325 extensions->ARB_draw_indirect && in compute_version()
326 extensions->ARB_gpu_shader5 && in compute_version()
327 extensions->ARB_gpu_shader_fp64 && in compute_version()
328 extensions->ARB_sample_shading && in compute_version()
329 extensions->ARB_tessellation_shader && in compute_version()
330 extensions->ARB_texture_buffer_object_rgb32 && in compute_version()
331 extensions->ARB_texture_cube_map_array && in compute_version()
332 extensions->ARB_texture_query_lod && in compute_version()
333 extensions->ARB_transform_feedback2 && in compute_version()
334 extensions->ARB_transform_feedback3); in compute_version()
342 extensions->ARB_ES2_compatibility && in compute_version()
343 extensions->ARB_shader_precision && in compute_version()
344 extensions->ARB_vertex_attrib_64bit && in compute_version()
345 extensions->ARB_viewport_array); in compute_version()
348 extensions->ARB_base_instance && in compute_version()
349 extensions->ARB_conservative_depth && in compute_version()
350 extensions->ARB_internalformat_query && in compute_version()
351 extensions->ARB_shader_atomic_counters && in compute_version()
352 extensions->ARB_shader_image_load_store && in compute_version()
353 extensions->ARB_shading_language_420pack && in compute_version()
354 extensions->ARB_shading_language_packing && in compute_version()
355 extensions->ARB_texture_compression_bptc && in compute_version()
356 extensions->ARB_transform_feedback_instanced); in compute_version()
360 extensions->ARB_ES3_compatibility && in compute_version()
361 extensions->ARB_arrays_of_arrays && in compute_version()
362 extensions->ARB_compute_shader && in compute_version()
363 extensions->ARB_copy_image && in compute_version()
364 extensions->ARB_explicit_uniform_location && in compute_version()
365 extensions->ARB_fragment_layer_viewport && in compute_version()
366 extensions->ARB_framebuffer_no_attachments && in compute_version()
367 extensions->ARB_internalformat_query2 && in compute_version()
368 extensions->ARB_robust_buffer_access_behavior && in compute_version()
369 extensions->ARB_shader_image_size && in compute_version()
370 extensions->ARB_shader_storage_buffer_object && in compute_version()
371 extensions->ARB_stencil_texturing && in compute_version()
372 extensions->ARB_texture_buffer_range && in compute_version()
373 extensions->ARB_texture_query_levels && in compute_version()
374 extensions->ARB_texture_view); in compute_version()
378 extensions->ARB_buffer_storage && in compute_version()
379 extensions->ARB_enhanced_layouts && in compute_version()
380 extensions->ARB_query_buffer_object && in compute_version()
381 extensions->ARB_texture_mirror_clamp_to_edge && in compute_version()
382 extensions->ARB_texture_stencil8 && in compute_version()
383 extensions->ARB_vertex_type_10f_11f_11f_rev); in compute_version()
386 extensions->ARB_ES3_1_compatibility && in compute_version()
387 extensions->ARB_clip_control && in compute_version()
388 extensions->ARB_conditional_render_inverted && in compute_version()
389 extensions->ARB_cull_distance && in compute_version()
390 extensions->ARB_derivative_control && in compute_version()
391 extensions->ARB_shader_texture_image_samples && in compute_version()
392 extensions->NV_texture_barrier); in compute_version()
395 extensions->ARB_gl_spirv && in compute_version()
396 extensions->ARB_spirv_extensions && in compute_version()
397 extensions->ARB_indirect_parameters && in compute_version()
398 extensions->ARB_polygon_offset_clamp && in compute_version()
399 extensions->ARB_shader_atomic_counter_ops && in compute_version()
400 extensions->ARB_shader_draw_parameters && in compute_version()
401 extensions->ARB_shader_group_vote && in compute_version()
402 extensions->ARB_texture_filter_anisotropic && in compute_version()
403 extensions->ARB_transform_feedback_overflow_query); in compute_version()
479 compute_version_es2(const struct gl_extensions *extensions, in compute_version_es2() argument
483 const bool ver_2_0 = (extensions->ARB_vertex_shader && in compute_version_es2()
484 extensions->ARB_fragment_shader && in compute_version_es2()
485 extensions->ARB_texture_non_power_of_two && in compute_version_es2()
486 extensions->EXT_blend_equation_separate); in compute_version_es2()
488 const bool ver_3_0 = (extensions->ARB_half_float_vertex && in compute_version_es2()
489 extensions->ARB_internalformat_query && in compute_version_es2()
490 extensions->ARB_map_buffer_range && in compute_version_es2()
491 extensions->ARB_shader_texture_lod && in compute_version_es2()
492 extensions->OES_texture_float && in compute_version_es2()
493 extensions->OES_texture_half_float && in compute_version_es2()
494 extensions->OES_texture_half_float_linear && in compute_version_es2()
495 extensions->ARB_texture_rg && in compute_version_es2()
496 extensions->ARB_depth_buffer_float && in compute_version_es2()
497 extensions->ARB_framebuffer_object && in compute_version_es2()
498 extensions->EXT_sRGB && in compute_version_es2()
499 extensions->EXT_packed_float && in compute_version_es2()
500 extensions->EXT_texture_array && in compute_version_es2()
501 extensions->EXT_texture_shared_exponent && in compute_version_es2()
502 extensions->EXT_texture_sRGB && in compute_version_es2()
503 extensions->EXT_transform_feedback && in compute_version_es2()
504 extensions->ARB_draw_instanced && in compute_version_es2()
505 extensions->ARB_instanced_arrays && in compute_version_es2()
506 extensions->ARB_uniform_buffer_object && in compute_version_es2()
507 extensions->EXT_texture_snorm && in compute_version_es2()
508 (extensions->NV_primitive_restart || in compute_version_es2()
510 extensions->OES_depth_texture_cube_map && in compute_version_es2()
511 extensions->EXT_texture_type_2_10_10_10_REV && in compute_version_es2()
520 extensions->ARB_arrays_of_arrays && in compute_version_es2()
522 extensions->ARB_draw_indirect && in compute_version_es2()
523 extensions->ARB_explicit_uniform_location && in compute_version_es2()
524 extensions->ARB_framebuffer_no_attachments && in compute_version_es2()
525 extensions->ARB_shading_language_packing && in compute_version_es2()
526 extensions->ARB_stencil_texturing && in compute_version_es2()
527 extensions->ARB_texture_multisample && in compute_version_es2()
528 extensions->ARB_texture_gather && in compute_version_es2()
529 extensions->MESA_shader_integer_functions && in compute_version_es2()
530 extensions->EXT_shader_integer_mix); in compute_version_es2()
535 extensions->ARB_shader_atomic_counters && in compute_version_es2()
536 extensions->ARB_shader_image_load_store && in compute_version_es2()
537 extensions->ARB_shader_image_size && in compute_version_es2()
538 extensions->ARB_shader_storage_buffer_object && in compute_version_es2()
539 extensions->EXT_color_buffer_float && in compute_version_es2()
540 extensions->EXT_draw_buffers2 && in compute_version_es2()
541 extensions->KHR_blend_equation_advanced && in compute_version_es2()
542 extensions->KHR_robustness && in compute_version_es2()
543 extensions->KHR_texture_compression_astc_ldr && in compute_version_es2()
544 extensions->OES_copy_image && in compute_version_es2()
545 extensions->ARB_draw_buffers_blend && in compute_version_es2()
546 extensions->ARB_draw_elements_base_vertex && in compute_version_es2()
547 extensions->OES_geometry_shader && in compute_version_es2()
548 extensions->OES_primitive_bounding_box && in compute_version_es2()
549 extensions->OES_sample_variables && in compute_version_es2()
550 extensions->ARB_tessellation_shader && in compute_version_es2()
551 extensions->OES_texture_buffer && in compute_version_es2()
552 extensions->OES_texture_cube_map_array && in compute_version_es2()
553 extensions->ARB_texture_stencil8); in compute_version_es2()
569 _mesa_get_version(const struct gl_extensions *extensions, in _mesa_get_version() argument
581 return compute_version(extensions, consts, api); in _mesa_get_version()
585 return compute_version_es2(extensions, consts); in _mesa_get_version()
601 ctx->Version = _mesa_get_version(&ctx->Extensions, &ctx->Const, ctx->API); in _mesa_compute_version()
602 ctx->Extensions.Version = ctx->Version; in _mesa_compute_version()
655 ctx->Extensions.ARB_compatibility = GL_TRUE; in _mesa_compute_version()