/third_party/mesa3d/src/mesa/main/ |
D | pixelstore.c | 47 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 52 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 57 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 64 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 71 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 78 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 85 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 107 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 114 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 121 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() [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 | texparam.c | 63 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); in validate_texture_wrap_mode() 383 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameteri() 467 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 486 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 562 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 581 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 639 if (_mesa_is_desktop_gl(ctx) in set_tex_parameteri() 722 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 736 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 1584 return (_mesa_is_desktop_gl(ctx) && ctx->Version >= 31) || in _mesa_legal_get_tex_level_parameter_target() [all …]
|
D | hint.c | 61 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_Hint() 85 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint() 95 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint()
|
D | context.h | 271 _mesa_is_desktop_gl(const struct gl_context *ctx) in _mesa_is_desktop_gl() function 378 return _mesa_is_desktop_gl(ctx) || in _mesa_has_texture_type_2_10_10_10_REV() 389 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32); in _mesa_has_geometry_shaders()
|
D | fbobject.c | 233 bool have_fb_blit = _mesa_is_gles3(ctx) || _mesa_is_desktop_gl(ctx); in get_framebuffer_target() 300 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in get_attachment() 775 if (!valid || _mesa_is_desktop_gl(ctx)) { in is_format_color_renderable() 1474 if (_mesa_is_desktop_gl(ctx) && !ctx->Extensions.ARB_ES2_compatibility) { in _mesa_test_framebuffer_completeness() 1846 cannot_be_winsys_fbo = !_mesa_is_desktop_gl(ctx); in validate_get_framebuffer_parameteriv_pname() 2203 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 2205 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 2213 return _mesa_is_desktop_gl(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() 2215 return _mesa_is_desktop_gl(ctx) || _mesa_has_EXT_texture_norm16(ctx) in _mesa_base_fbo_format() 2219 return _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() [all …]
|
D | enable.c | 580 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 631 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 821 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 843 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 854 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 1019 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 1033 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 1053 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 1280 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 31) { in _mesa_set_enable() 1633 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_IsEnabled() [all …]
|
D | vtxfmt.c | 138 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 152 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in install_vtxfmt() 244 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 260 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 447 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 507 if (_mesa_is_desktop_gl(ctx)) in _mesa_install_save_vtxfmt()
|
D | getstring.c | 203 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 43) { in _mesa_GetStringi() 339 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
|
D | debug_output.c | 993 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageInsert() 1029 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetDebugMessageLog() 1102 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageControl() 1166 if (_mesa_is_desktop_gl(ctx)) in _mesa_PushDebugGroup() 1224 if (_mesa_is_desktop_gl(ctx)) in _mesa_PopDebugGroup()
|
D | get.c | 1404 if (_mesa_is_desktop_gl(ctx) && version >= 43) in check_extra() 1429 if (_mesa_is_desktop_gl(ctx)) in check_extra() 1507 (_mesa_is_desktop_gl(ctx) || in check_extra() 2436 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in tex_binding_to_index() 2445 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in tex_binding_to_index() 2448 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in tex_binding_to_index() 2451 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in tex_binding_to_index() 2462 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2465 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2699 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_instanced_arrays) && in find_value_indexed() [all …]
|
D | shaderimage.c | 419 return _mesa_is_desktop_gl(ctx) || _mesa_has_EXT_texture_norm16(ctx); in _mesa_is_shader_image_format_supported() 429 const GLenum format = _mesa_is_desktop_gl(ctx) ? GL_R8 : GL_R32UI; in _mesa_default_image_unit()
|
D | teximage.c | 530 return (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) in _mesa_max_texture_levels() 1517 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1526 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1528 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 | 1570 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in _mesa_tex_target_to_index() 1579 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in _mesa_tex_target_to_index() 1582 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in _mesa_tex_target_to_index() 1585 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in _mesa_tex_target_to_index() 1599 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index() 1602 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index()
|
D | buffers.c | 491 _mesa_is_desktop_gl(ctx) && in draw_buffers() 503 _mesa_is_desktop_gl(ctx))) { in draw_buffers()
|
D | varray.c | 117 return _mesa_is_desktop_gl(ctx) ? FIXED_GL_BIT : FIXED_ES_BIT; in type_to_bit() 832 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 44 && in validate_array() 2118 if ((_mesa_is_desktop_gl(ctx) in get_vertex_array_attrib() 2125 if (_mesa_is_desktop_gl(ctx)) { in get_vertex_array_attrib() 2130 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_instanced_arrays) in get_vertex_array_attrib() 2136 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 2141 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 3005 if (((_mesa_is_desktop_gl(ctx) && ctx->Version >= 44) || _mesa_is_gles31(ctx)) && in vertex_array_vertex_buffer_err() 3173 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 44 && in vertex_array_vertex_buffers()
|
D | blend.c | 67 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_src_factor() 103 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 | 645 if (_mesa_is_desktop_gl(ctx)) { in _mesa_compute_version()
|
D | bufferobj.c | 113 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) { in get_buffer_target() 151 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_draw_indirect) || in get_buffer_target() 2187 valid_usage = _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx); in buffer_data() 3675 return _mesa_is_desktop_gl(ctx); in get_map_buffer_access_flags() 3681 return _mesa_is_desktop_gl(ctx); in get_map_buffer_access_flags()
|
D | texstorage.c | 80 if (!_mesa_is_desktop_gl(ctx)) in legal_texobj_target()
|
D | formatquery.c | 1225 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32) in _mesa_GetInternalformativ()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_util.h | 86 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 42)) { in conv_i10_to_norm_float() 102 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 42)) { in conv_i2_to_norm_float()
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta_blit.c | 71 assert(_mesa_is_desktop_gl(ctx) || target == GL_TEXTURE_2D); in setup_glsl_blit_framebuffer()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 500 (_mesa_is_desktop_gl(ctx) && in brw_initialize_context_constants() 1353 if (_mesa_is_desktop_gl(ctx) || !fb->Visual.sRGBCapable) in brw_gles3_srgb_workaround()
|