/external/mesa3d/src/mesa/main/ |
D | pixelstore.c | 46 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 51 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 56 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 63 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 70 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 77 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 84 if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in pixel_storei() 97 (!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.MESA_pack_invert)) in pixel_storei() 102 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() 109 if (!no_error && !_mesa_is_desktop_gl(ctx)) in pixel_storei() [all …]
|
D | enable.c | 454 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 491 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 660 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 680 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 690 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 845 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 858 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES) in _mesa_set_enable() 876 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() 888 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in _mesa_set_enable() 933 if (!_mesa_is_desktop_gl(ctx)) in _mesa_set_enable() [all …]
|
D | texparam.c | 58 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); in validate_texture_wrap_mode() 373 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameteri() 457 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 476 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_shadow) in set_tex_parameteri() 549 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 568 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_swizzle) in set_tex_parameteri() 607 if (_mesa_is_desktop_gl(ctx) in set_tex_parameteri() 685 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 698 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in set_tex_parameterf() 1290 return (_mesa_is_desktop_gl(ctx) && ctx->Version >= 31) || in _mesa_legal_get_tex_level_parameter_target() [all …]
|
D | fbobject.c | 204 bool have_fb_blit = _mesa_is_gles3(ctx) || _mesa_is_desktop_gl(ctx); in get_framebuffer_target() 270 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)) in get_attachment() 724 if (!valid || _mesa_is_desktop_gl(ctx)) { in is_format_color_renderable() 1237 if (_mesa_is_desktop_gl(ctx) && !ctx->Extensions.ARB_ES2_compatibility) { in _mesa_test_framebuffer_completeness() 1494 if (!_mesa_is_desktop_gl(ctx)) in _pname_valid_for_default_framebuffer() 1853 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 1855 return _mesa_is_desktop_gl(ctx) ? GL_RGB : 0; in _mesa_base_fbo_format() 1864 return _mesa_is_desktop_gl(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() 1867 return _mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx) ? GL_RGBA : 0; in _mesa_base_fbo_format() 1875 return _mesa_is_desktop_gl(ctx) ? GL_STENCIL_INDEX : 0; in _mesa_base_fbo_format() [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 | 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() 198 if (_mesa_is_desktop_gl(ctx)) { in install_vtxfmt() 247 if (_mesa_is_desktop_gl(ctx)) in _mesa_install_save_vtxfmt()
|
D | context.h | 270 _mesa_is_desktop_gl(const struct gl_context *ctx) in _mesa_is_desktop_gl() function 330 (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32); in _mesa_has_geometry_shaders()
|
D | getstring.c | 194 if (!_mesa_is_desktop_gl(ctx) || ctx->Version < 43) { in _mesa_GetStringi() 235 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetPointerv()
|
D | debug_output.c | 1009 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageInsert() 1045 if (_mesa_is_desktop_gl(ctx)) in _mesa_GetDebugMessageLog() 1118 if (_mesa_is_desktop_gl(ctx)) in _mesa_DebugMessageControl() 1182 if (_mesa_is_desktop_gl(ctx)) in _mesa_PushDebugGroup() 1240 if (_mesa_is_desktop_gl(ctx)) in _mesa_PopDebugGroup()
|
D | get.c | 1236 if (_mesa_is_desktop_gl(ctx) && version >= 43) in check_extra() 1265 if (_mesa_is_desktop_gl(ctx)) in check_extra() 1343 (_mesa_is_desktop_gl(ctx) || in check_extra() 2147 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in tex_binding_to_index() 2156 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in tex_binding_to_index() 2159 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in tex_binding_to_index() 2162 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in tex_binding_to_index() 2173 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2176 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample in tex_binding_to_index() 2406 if ((!_mesa_is_desktop_gl(ctx) || !ctx->Extensions.ARB_instanced_arrays) && in find_value_indexed() [all …]
|
D | texobj.c | 1592 return _mesa_is_desktop_gl(ctx) ? TEXTURE_1D_INDEX : -1; in _mesa_tex_target_to_index() 1601 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_texture_rectangle in _mesa_tex_target_to_index() 1604 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array in _mesa_tex_target_to_index() 1607 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in _mesa_tex_target_to_index() 1621 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index() 1624 return ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_texture_multisample) || in _mesa_tex_target_to_index()
|
D | shaderimage.c | 443 return _mesa_is_desktop_gl(ctx); in _mesa_is_shader_image_format_supported() 453 const GLenum format = _mesa_is_desktop_gl(ctx) ? GL_R8 : GL_R32UI; in _mesa_default_image_unit()
|
D | glformats.c | 1353 return _mesa_is_desktop_gl(ctx) && in _mesa_is_compressed_format() 1379 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format() 1384 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format() 1387 return _mesa_is_desktop_gl(ctx) in _mesa_is_compressed_format() 1398 return _mesa_is_desktop_gl(ctx) && in _mesa_is_compressed_format() 1818 if (_mesa_is_desktop_gl(ctx) && format == GL_DEPTH_STENCIL in _mesa_error_check_format_and_type()
|
D | teximage.c | 547 return (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) in _mesa_max_texture_levels() 1533 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1542 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1544 return _mesa_is_desktop_gl(ctx) in legal_teximage_target() 1555 return _mesa_is_desktop_gl(ctx) in legal_teximage_target() 1559 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array; in legal_teximage_target() 1568 return _mesa_is_desktop_gl(ctx); in legal_teximage_target() 1570 return (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array) in legal_teximage_target() 1573 return _mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_texture_array; in legal_teximage_target() 1599 return _mesa_is_desktop_gl(ctx) && target == GL_TEXTURE_1D; in legal_texsubimage_target() [all …]
|
D | points.c | 178 if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.NV_point_sprite) { in _mesa_PointParameterfv()
|
D | varray.c | 115 return _mesa_is_desktop_gl(ctx) ? FIXED_GL_BIT : FIXED_ES_BIT; in type_to_bit() 1251 if ((_mesa_is_desktop_gl(ctx) in get_vertex_array_attrib() 1258 if (_mesa_is_desktop_gl(ctx)) { in get_vertex_array_attrib() 1263 if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_instanced_arrays) in get_vertex_array_attrib() 1269 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib() 1274 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles31(ctx)) { in get_vertex_array_attrib()
|
D | formatquery.c | 401 if (!_mesa_is_desktop_gl(ctx)) in _is_target_supported() 1204 if (_mesa_is_desktop_gl(ctx) && ctx->Version >= 32) in _mesa_GetInternalformativ()
|
D | blend.c | 65 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_src_factor() 101 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_dst_factor()
|
D | texcompress.c | 267 if (_mesa_is_desktop_gl(ctx) && in _mesa_get_compressed_formats()
|
D | texstorage.c | 80 if (!_mesa_is_desktop_gl(ctx)) in legal_texobj_target()
|
D | queryobj.c | 153 if (!_mesa_is_desktop_gl(ctx) || in get_pipe_stats_binding_point()
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | api_exec.c | 140 …if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && … in _mesa_initialize_exec_table() 178 …if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && … in _mesa_initialize_exec_table() 190 …if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && … in _mesa_initialize_exec_table() 194 …if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ct… in _mesa_initialize_exec_table() 234 if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES)) { in _mesa_initialize_exec_table() 238 if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2)) { in _mesa_initialize_exec_table() 271 if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx))) { in _mesa_initialize_exec_table() 392 if (_mesa_is_desktop_gl(ctx)) { in _mesa_initialize_exec_table() 526 if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30)) { in _mesa_initialize_exec_table() 595 if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) { in _mesa_initialize_exec_table() [all …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_exec_array.c | 1932 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in vbo_initialize_exec_dispatch() 1951 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in vbo_initialize_exec_dispatch() 1959 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in vbo_initialize_exec_dispatch() 1982 if (_mesa_is_desktop_gl(ctx) || _mesa_is_gles3(ctx)) { in vbo_initialize_exec_dispatch() 1987 if (_mesa_is_desktop_gl(ctx)) { in vbo_initialize_exec_dispatch()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 356 (_mesa_is_desktop_gl(ctx) && in brw_initialize_context_constants() 1185 if (_mesa_is_desktop_gl(ctx) || !fb->Visual.sRGBCapable) in intel_gles3_srgb_workaround()
|