Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/main/
Dpixelstore.c48 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
56 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
64 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in _mesa_PixelStorei()
76 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in _mesa_PixelStorei()
88 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in _mesa_PixelStorei()
100 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in _mesa_PixelStorei()
112 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in _mesa_PixelStorei()
134 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
147 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
157 if (!_mesa_is_desktop_gl(ctx)) in _mesa_PixelStorei()
[all …]
Dtexparam.c59 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); in validate_texture_wrap_mode()
134 if (_mesa_is_desktop_gl(ctx)) in get_texobj()
149 if (_mesa_is_desktop_gl(ctx) in get_texobj()
155 if (_mesa_is_desktop_gl(ctx) in get_texobj()
162 if ((_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) in get_texobj()
328 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameteri()
369 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri()
384 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri()
447 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri()
466 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri()
[all …]
Denable.c358 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable()
411 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable()
437 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable()
606 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable()
624 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable()
632 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable()
768 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable()
782 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable()
796 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable()
840 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable()
[all …]
Dfbobject.c167 return ctx->Extensions.EXT_framebuffer_blit && _mesa_is_desktop_gl(ctx) in get_framebuffer_target()
170 return ctx->Extensions.EXT_framebuffer_blit && _mesa_is_desktop_gl(ctx) in get_framebuffer_target()
224 if (!_mesa_is_desktop_gl(ctx)) in _mesa_get_attachment()
823 if (_mesa_is_desktop_gl(ctx) && !ctx->Extensions.ARB_ES2_compatibility) { in _mesa_test_framebuffer_completeness()
1112 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format()
1114 return _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format()
1123 return _mesa_is_desktop_gl(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format()
1126 return _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format()
1134 return _mesa_is_desktop_gl(ctx) ? GL_STENCIL_INDEX : 0; in _mesa_base_fbo_format()
1139 return _mesa_is_desktop_gl(ctx) ? GL_DEPTH_COMPONENT : 0; in _mesa_base_fbo_format()
[all …]
Dhint.c62 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_Hint()
86 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint()
106 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint()
Dapi_exec.c479 if (_mesa_is_desktop_gl(ctx)) { in _mesa_create_exec_table()
556 if (_mesa_is_desktop_gl(ctx)) { in _mesa_create_exec_table()
825 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in _mesa_create_exec_table()
865 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in _mesa_create_exec_table()
921 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in _mesa_create_exec_table()
934 if (_mesa_is_desktop_gl(ctx)) { in _mesa_create_exec_table()
939 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in _mesa_create_exec_table()
Dglformats.c796 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format()
802 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.S3_s3tc; in _mesa_is_compressed_format()
807 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format()
812 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format()
818 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format()
Dgetstring.c272 if (!_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
277 if (!_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
Dbufferobj.c73 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx) in get_buffer_target()
98 if (_mesa_is_desktop_gl(ctx) in get_buffer_target()
1050 valid_usage = _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx); in _mesa_BufferDataARB()
1153 valid_access = _mesa_is_desktop_gl(ctx); in _mesa_MapBufferARB()
1161 valid_access = _mesa_is_desktop_gl(ctx); in _mesa_MapBufferARB()
1322 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_map_buffer_range) in _mesa_GetBufferParameterivARB()
1328 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_map_buffer_range) in _mesa_GetBufferParameterivARB()
1334 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_map_buffer_range) in _mesa_GetBufferParameterivARB()
2354 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in _mesa_init_bufferobj_dispatch()
2359 if (_mesa_is_desktop_gl(ctx)) { in _mesa_init_bufferobj_dispatch()
Dblend.c66 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_src_factor()
71 return _mesa_is_desktop_gl(ctx) in legal_src_factor()
103 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_dst_factor()
105 return (_mesa_is_desktop_gl(ctx) in legal_dst_factor()
112 return _mesa_is_desktop_gl(ctx) in legal_dst_factor()
Dteximage.c759 return _mesa_is_desktop_gl(ctx) in _mesa_select_tex_object()
953 return _mesa_is_desktop_gl(ctx) in _mesa_max_texture_levels()
1493 return _mesa_is_desktop_gl(ctx); in legal_teximage_target()
1502 return _mesa_is_desktop_gl(ctx); in legal_teximage_target()
1504 return _mesa_is_desktop_gl(ctx) in legal_teximage_target()
1515 return _mesa_is_desktop_gl(ctx) in legal_teximage_target()
1519 return _mesa_is_desktop_gl(ctx) in legal_teximage_target()
1530 return _mesa_is_desktop_gl(ctx); in legal_teximage_target()
1532 return (_mesa_is_desktop_gl(ctx) in legal_teximage_target()
1537 return _mesa_is_desktop_gl(ctx) in legal_teximage_target()
[all …]
Dtexobj.c1129 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in target_enum_to_index()
1138 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in target_enum_to_index()
1141 return _mesa_is_desktop_gl(ctx) in target_enum_to_index()
1146 return (_mesa_is_desktop_gl(ctx) in target_enum_to_index()
1152 return _mesa_is_desktop_gl(ctx) in target_enum_to_index()
Dcontext.h297 _mesa_is_desktop_gl(const struct gl_context *ctx) in _mesa_is_desktop_gl() function
Dpoints.c174 if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_point_sprite) { in _mesa_PointParameterfv()
Dvarray.c95 return _mesa_is_desktop_gl(ctx) ? FIXED_GL_BIT : FIXED_ES_BIT; in type_to_bit()
619 if ((_mesa_is_desktop_gl(ctx) in get_vertex_array_attrib()
626 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_instanced_arrays) in get_vertex_array_attrib()
Dvtxfmt.c255 if (_mesa_is_desktop_gl(ctx)) in _mesa_install_save_vtxfmt()
Dapi_validate.c234 valid_enum = _mesa_is_desktop_gl(ctx) in _mesa_valid_prim_mode()
Dcontext.c433 if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2) in one_time_init()
638 if (_mesa_is_desktop_gl(ctx)) { in _mesa_init_constants()
Dshaderapi.c181 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_geometry_shader4; in validate_shader_target()
471 _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_geometry_shader4; in get_programiv()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_extensions.c48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_extensions.c48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_extensions.c48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
/external/mesa3d/src/glsl/
Dglsl_parser_extras.cpp92 _mesa_is_desktop_gl(ctx) ? ctx->Const.GLSLVersion : 100; in _mesa_glsl_parse_state()
Dglsl_parser.yy280 supported = _mesa_is_desktop_gl(state->ctx) &&
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1491 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_framebuffer_sRGB) in blitframebuffer_texture()
1941 if (_mesa_is_desktop_gl(ctx) && ctx->Const.GLSLVersion >= 130) { in meta_glsl_clear_init()
3330 _mesa_is_desktop_gl(ctx)) || in _mesa_meta_GenerateMipmap()
3738 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_framebuffer_sRGB) in decompress_texture_image()

12