Home
last modified time | relevance | path

Searched refs:_mesa_is_desktop_gl (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dpixelstore.c47 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 …]
Dhint.c61 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()
Dobjectlabel.c259 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()
Dtexparam.c59 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 …]
Denable.c547 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 …]
Dfbobject.c235 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 …]
Dcontext.h296 _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()
Dvtxfmt.c138 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()
Dgetstring.c199 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 43) { in _mesa_GetStringi()
335 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
Ddebug_output.c992 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()
Dget.c1389 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 …]
Dpoints.c178 if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_point_sprite) { in _mesa_PointParameterfv()
Dshaderimage.c419 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()
Dtexobj.c1602 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()
Dteximage.c529 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 …]
Dbuffers.c498 _mesa_is_desktop_gl(ctx) && in draw_buffers()
510 _mesa_is_desktop_gl(ctx))) { in draw_buffers()
Dvarray.c117 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()
Dblend.c66 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()
Dtexcompress.c276 if (_mesa_is_desktop_gl(ctx) && in _mesa_get_compressed_formats()
Dversion.c621 if (_mesa_is_desktop_gl(ctx)) { in _mesa_compute_version()
Dbufferobj.c109 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()
Dtexstorage.c80 if (!_mesa_is_desktop_gl(ctx)) in legal_texobj_target()
/external/mesa3d/src/mesa/vbo/
Dvbo_util.h86 (_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/
Dmeta_blit.c71 assert(_mesa_is_desktop_gl(ctx) || target == GL_TEXTURE_2D); in setup_glsl_blit_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c457 (_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()

12