/third_party/mesa3d/src/mesa/main/ |
D | pixelstore.c | 48 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 53 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 65 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 86 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 108 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 115 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 122 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 129 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 137 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 142 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() [all …]
|
D | texparam.c | 67 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); in validate_texture_wrap_mode() 378 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameteri() 462 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 481 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 557 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 576 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 634 if (_mesa_is_desktop_gl(ctx) in set_tex_parameteri() 757 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 771 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 1656 return (_mesa_is_desktop_gl(ctx) && ctx->Version >= 31) || in _mesa_legal_get_tex_level_parameter_target() [all …]
|
D | objectlabel.c | 259 if (_mesa_is_desktop_gl(ctx)) in _mesa_ObjectLabel() 279 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetObjectLabel() 307 if (_mesa_is_desktop_gl(ctx)) in _mesa_ObjectPtrLabel() 333 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetObjectPtrLabel()
|
D | hint.c | 62 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_Hint() 86 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint() 96 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint()
|
D | enable.c | 568 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 617 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 807 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 827 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 837 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 1000 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 1013 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 1031 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 1251 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 31) { in _mesa_set_enable() 1599 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_IsEnabled() [all …]
|
D | fbobject.c | 238 bool have_fb_blit = _mesa_is_gles3(ctx) || _mesa_is_desktop_gl(ctx); in get_framebuffer_target() 305 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in get_attachment() 810 if (!valid || _mesa_is_desktop_gl(ctx)) { in is_format_color_renderable() 1647 if (_mesa_is_desktop_gl(ctx) && !ctx->Extensions.ARB_ES2_compatibility) { in _mesa_test_framebuffer_completeness() 2017 cannot_be_winsys_fbo = !_mesa_is_desktop_gl(ctx); in validate_get_framebuffer_parameteriv_pname() 2374 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 2376 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 2384 return _mesa_is_desktop_gl(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() 2386 return _mesa_is_desktop_gl(ctx) || _mesa_has_EXT_texture_norm16(ctx) in _mesa_base_fbo_format() 2390 return _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() [all …]
|
D | context.h | 256 _mesa_is_desktop_gl(const struct gl_context *ctx) in _mesa_is_desktop_gl() function 363 return _mesa_is_desktop_gl(ctx) || in _mesa_has_texture_type_2_10_10_10_REV() 374 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32); in _mesa_has_geometry_shaders()
|
D | getstring.c | 208 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 43) { in _mesa_GetStringi() 344 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
|
D | debug_output.c | 1072 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageInsert() 1108 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetDebugMessageLog() 1181 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageControl() 1245 if (_mesa_is_desktop_gl(ctx)) in _mesa_PushDebugGroup() 1303 if (_mesa_is_desktop_gl(ctx)) in _mesa_PopDebugGroup()
|
D | get.c | 1421 if (_mesa_is_desktop_gl(ctx) && version >= 43) in check_extra() 1446 if (_mesa_is_desktop_gl(ctx)) in check_extra() 1525 (_mesa_is_desktop_gl(ctx) || in check_extra() 2463 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in tex_binding_to_index() 2473 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in tex_binding_to_index() 2476 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in tex_binding_to_index() 2479 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in tex_binding_to_index() 2490 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2493 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2727 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_instanced_arrays) && in find_value_indexed() [all …]
|
D | teximage.c | 531 return (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) in _mesa_max_texture_levels() 1518 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1527 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1529 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1539 return _mesa_is_desktop_gl(ctx) in legal_teximage_target() 1543 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array; in legal_teximage_target() 1552 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1554 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in legal_teximage_target() 1557 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array; in legal_teximage_target() 1583 return _mesa_is_desktop_gl(ctx) && target == GL_TEXTURE_1D; in legal_texsubimage_target() [all …]
|
D | texobj.c | 1537 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in _mesa_tex_target_to_index() 1547 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in _mesa_tex_target_to_index() 1550 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in _mesa_tex_target_to_index() 1553 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in _mesa_tex_target_to_index() 1567 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index() 1570 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index()
|
D | formatquery.c | 443 if (!_mesa_is_desktop_gl(ctx)) in _is_target_supported() 1020 if (!_mesa_is_desktop_gl(ctx) && in _mesa_GetInternalformativ() 1241 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32) in _mesa_GetInternalformativ()
|
D | shaderimage.c | 422 return _mesa_is_desktop_gl(ctx) || _mesa_has_EXT_texture_norm16(ctx); in _mesa_is_shader_image_format_supported() 432 const GLenum format = _mesa_is_desktop_gl(ctx) ? GL_R8 : GL_R32UI; in _mesa_default_image_unit()
|
D | buffers.c | 495 _mesa_is_desktop_gl(ctx) && in draw_buffers() 507 _mesa_is_desktop_gl(ctx))) { in draw_buffers()
|
D | varray.c | 118 return _mesa_is_desktop_gl(ctx) ? FIXED_GL_BIT : FIXED_ES_BIT; in type_to_bit() 849 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 44 && in validate_array() 2144 if ((_mesa_is_desktop_gl(ctx) in get_vertex_array_attrib() 2151 if (_mesa_is_desktop_gl(ctx)) { in get_vertex_array_attrib() 2156 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_instanced_arrays) in get_vertex_array_attrib() 2162 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 2167 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 3031 if (((_mesa_is_desktop_gl(ctx) && ctx->Version >= 44) || _mesa_is_gles31(ctx)) && in vertex_array_vertex_buffer_err() 3199 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 44 && in vertex_array_vertex_buffers()
|
D | blend.c | 68 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_src_factor() 104 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_dst_factor()
|
D | texcompress.c | 276 if (_mesa_is_desktop_gl(ctx) && in _mesa_get_compressed_formats()
|
D | version.c | 608 if (_mesa_is_desktop_gl(ctx)) { in _mesa_compute_version()
|
D | texstorage.c | 82 if (!_mesa_is_desktop_gl(ctx)) in _mesa_is_legal_tex_storage_target()
|
D | bufferobj.c | 669 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) { in get_buffer_target() 702 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_draw_indirect) || in get_buffer_target() 2429 valid_usage = _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx); in buffer_data() 3907 return _mesa_is_desktop_gl(ctx); in get_map_buffer_access_flags() 3913 return _mesa_is_desktop_gl(ctx); in get_map_buffer_access_flags()
|
D | context.c | 1389 if (!ctx->HasConfig && _mesa_is_desktop_gl(ctx)) { in handle_first_current()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_util.h | 84 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 42)) { in conv_i10_to_norm_float() 100 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 42)) { in conv_i2_to_norm_float()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 1297 if ((_mesa_is_desktop_gl(ctx) && ctx->Version >= 30) && in st_ChooseTextureFormat()
|
D | st_glsl_to_nir.cpp | 365 if (_mesa_is_desktop_gl(st->ctx) && st->ctx->Const.GLSLVersion >= 400) in st_nir_preprocess()
|