/external/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() 97 if (!no_error && !_mesa_is_desktop_gl(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() [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 | 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 | 59 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); in validate_texture_wrap_mode() 352 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameteri() 436 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 455 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 528 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 547 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 586 if (_mesa_is_desktop_gl(ctx) in set_tex_parameteri() 668 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 681 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 1522 return (_mesa_is_desktop_gl(ctx) && ctx->Version >= 31) || in _mesa_legal_get_tex_level_parameter_target() [all …]
|
D | enable.c | 547 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 594 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 782 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 802 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 812 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 968 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 981 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 999 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 1217 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 31) { in _mesa_set_enable() 1568 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_IsEnabled() [all …]
|
D | fbobject.c | 235 bool have_fb_blit = _mesa_is_gles3(ctx) || _mesa_is_desktop_gl(ctx); in get_framebuffer_target() 302 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in get_attachment() 778 if (!valid || _mesa_is_desktop_gl(ctx)) { in is_format_color_renderable() 1451 if (_mesa_is_desktop_gl(ctx) && !ctx->Extensions.ARB_ES2_compatibility) { in _mesa_test_framebuffer_completeness() 1823 cannot_be_winsys_fbo = !_mesa_is_desktop_gl(ctx); in validate_get_framebuffer_parameteriv_pname() 2180 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 2182 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 2190 return _mesa_is_desktop_gl(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() 2192 return _mesa_is_desktop_gl(ctx) || _mesa_has_EXT_texture_norm16(ctx) in _mesa_base_fbo_format() 2196 return _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() [all …]
|
D | context.h | 296 _mesa_is_desktop_gl(const struct gl_context *ctx) in _mesa_is_desktop_gl() function 403 return _mesa_is_desktop_gl(ctx) || in _mesa_has_texture_type_2_10_10_10_REV() 414 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32); in _mesa_has_geometry_shaders()
|
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() 232 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 248 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 435 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 495 if (_mesa_is_desktop_gl(ctx)) in _mesa_install_save_vtxfmt()
|
D | getstring.c | 199 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 43) { in _mesa_GetStringi() 335 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
|
D | debug_output.c | 992 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageInsert() 1028 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetDebugMessageLog() 1101 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageControl() 1165 if (_mesa_is_desktop_gl(ctx)) in _mesa_PushDebugGroup() 1223 if (_mesa_is_desktop_gl(ctx)) in _mesa_PopDebugGroup()
|
D | get.c | 1389 if (_mesa_is_desktop_gl(ctx) && version >= 43) in check_extra() 1414 if (_mesa_is_desktop_gl(ctx)) in check_extra() 1492 (_mesa_is_desktop_gl(ctx) || in check_extra() 2421 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in tex_binding_to_index() 2430 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in tex_binding_to_index() 2433 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in tex_binding_to_index() 2436 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in tex_binding_to_index() 2447 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2450 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2684 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_instanced_arrays) && in find_value_indexed() [all …]
|
D | points.c | 178 if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_point_sprite) { in _mesa_PointParameterfv()
|
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 | texobj.c | 1602 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in _mesa_tex_target_to_index() 1611 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in _mesa_tex_target_to_index() 1614 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in _mesa_tex_target_to_index() 1617 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in _mesa_tex_target_to_index() 1631 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index() 1634 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index()
|
D | teximage.c | 529 return (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) in _mesa_max_texture_levels() 1515 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1524 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1526 return _mesa_is_desktop_gl(ctx) in legal_teximage_target() 1537 return _mesa_is_desktop_gl(ctx) in legal_teximage_target() 1541 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array; in legal_teximage_target() 1550 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1552 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in legal_teximage_target() 1555 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array; in legal_teximage_target() 1581 return _mesa_is_desktop_gl(ctx) && target == GL_TEXTURE_1D; in legal_texsubimage_target() [all …]
|
D | buffers.c | 498 _mesa_is_desktop_gl(ctx) && in draw_buffers() 510 _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() 826 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 44 && in validate_array() 2104 if ((_mesa_is_desktop_gl(ctx) in get_vertex_array_attrib() 2111 if (_mesa_is_desktop_gl(ctx)) { in get_vertex_array_attrib() 2116 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_instanced_arrays) in get_vertex_array_attrib() 2122 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 2127 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 2991 if (((_mesa_is_desktop_gl(ctx) && ctx->Version >= 44) || _mesa_is_gles31(ctx)) && in vertex_array_vertex_buffer_err() 3158 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 44 && in vertex_array_vertex_buffers()
|
D | blend.c | 66 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_src_factor() 102 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 | 621 if (_mesa_is_desktop_gl(ctx)) { in _mesa_compute_version()
|
D | bufferobj.c | 109 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) { in get_buffer_target() 147 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_draw_indirect) || in get_buffer_target() 2034 valid_usage = _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx); in buffer_data() 3522 return _mesa_is_desktop_gl(ctx); in get_map_buffer_access_flags() 3528 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()
|
/external/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()
|
/external/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()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 457 (_mesa_is_desktop_gl(ctx) && in brw_initialize_context_constants() 1302 if (_mesa_is_desktop_gl(ctx) || !fb->Visual.sRGBCapable) in intel_gles3_srgb_workaround()
|