/external/mesa3d/src/mesa/main/ |
D | pixelstore.c | 48 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 …]
|
D | texparam.c | 59 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 …]
|
D | enable.c | 358 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 …]
|
D | fbobject.c | 167 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 …]
|
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() 106 if (!_mesa_is_desktop_gl(ctx)) in _mesa_Hint()
|
D | api_exec.c | 479 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()
|
D | glformats.c | 796 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()
|
D | getstring.c | 272 if (!_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv() 277 if (!_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
|
D | bufferobj.c | 73 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()
|
D | blend.c | 66 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()
|
D | teximage.c | 759 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 …]
|
D | texobj.c | 1129 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()
|
D | context.h | 297 _mesa_is_desktop_gl(const struct gl_context *ctx) in _mesa_is_desktop_gl() function
|
D | points.c | 174 if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_point_sprite) { in _mesa_PointParameterfv()
|
D | varray.c | 95 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()
|
D | vtxfmt.c | 255 if (_mesa_is_desktop_gl(ctx)) in _mesa_install_save_vtxfmt()
|
D | api_validate.c | 234 valid_enum = _mesa_is_desktop_gl(ctx) in _mesa_valid_prim_mode()
|
D | context.c | 433 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()
|
D | shaderapi.c | 181 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/ |
D | intel_extensions.c | 48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_extensions.c | 48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_extensions.c | 48 if (_mesa_is_desktop_gl(ctx)) in intelInitExtensions()
|
/external/mesa3d/src/glsl/ |
D | glsl_parser_extras.cpp | 92 _mesa_is_desktop_gl(ctx) ? ctx->Const.GLSLVersion : 100; in _mesa_glsl_parse_state()
|
D | glsl_parser.yy | 280 supported = _mesa_is_desktop_gl(state->ctx) &&
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 1491 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()
|