Searched refs:_mesa_is_gles (Results 1 – 25 of 27) sorted by relevance
12
49 error = _mesa_is_gles(ctx); in _mesa_is_valid_generate_texture_mipmap_target()61 error = _mesa_is_gles(ctx) || !ctx->Extensions.EXT_texture_array; in _mesa_is_valid_generate_texture_mipmap_target()64 error = (_mesa_is_gles(ctx) && ctx->Version < 30) in _mesa_is_valid_generate_texture_mipmap_target()
455 if (_mesa_is_gles(ctx)) in compressed_format_compatible()466 if (_mesa_is_gles(ctx)) in compressed_format_compatible()472 if (_mesa_is_gles(ctx) && _mesa_is_astc_format(compressedFormat)) in compressed_format_compatible()
69 if (ctx && _mesa_is_gles(ctx)) { in _mesa_init_renderbuffer()
177 if ((_mesa_is_gles(ctx) && ctx->Version == 20) && in get_query_binding_point()673 if (_mesa_is_gles(ctx) && pname != GL_CURRENT_QUERY) { in _mesa_GetQueryIndexediv()815 if (_mesa_is_gles(ctx) && in get_query_object()
317 if (_mesa_is_gles(ctx)) { in _mesa_get_compressed_formats()333 if (_mesa_is_gles(ctx) in _mesa_get_compressed_formats()
280 _mesa_is_gles(const struct gl_context *ctx) in _mesa_is_gles() function
162 && (ctx->API == API_OPENGL_CORE || _mesa_is_gles(ctx))) { in clear()291 if (_mesa_is_gles(ctx)) in make_color_buffer_mask()
1891 if (err == GL_INVALID_ENUM && _mesa_is_gles(ctx) && ctx->Version < 20) in texture_error_check()1914 if (_mesa_is_gles(ctx) && in texture_error_check()2226 GLenum internalFormat = _mesa_is_gles(ctx) ? in texsubimage_error_check()2235 if (_mesa_is_gles(ctx) && in texsubimage_error_check()2350 if (_mesa_is_gles(ctx) && !_mesa_is_gles3(ctx)) { in copytexture_error_check()2408 if (_mesa_is_gles(ctx)) { in copytexture_error_check()2502 } else if (_mesa_is_gles(ctx) && in copytexture_error_check()2521 if (_mesa_is_gles(ctx) && is_unorm != is_rbunorm) in copytexture_error_check()2657 if (_mesa_is_gles(ctx) && _mesa_is_stencil_format(texImage->_BaseFormat)) { in copytexsubimage_error_check()2988 if (_mesa_is_gles(ctx) && format == internalFormat) { in teximage()[all …]
101 if (_mesa_is_gles(ctx)) { in draw_buffer_enum_to_bitmask()182 if (_mesa_is_gles(ctx)) { in read_buffer_enum_to_index()
1013 if ((_mesa_is_gles(ctx) || (ctx->Const.ContextFlags & GL_CONTEXT_FLAG_DEBUG_BIT)) && in _mesa_validate_program_pipeline()1015 if (_mesa_is_gles(ctx)) in _mesa_validate_program_pipeline()
745 if (_mesa_is_gles(ctx)) in set_tex_parameterf()1930 if (_mesa_is_gles(ctx)) in get_tex_parameterfv()2014 if (!_mesa_is_gles(ctx) || !ctx->Extensions.OES_EGL_image_external) in get_tex_parameterfv()2172 if (_mesa_is_gles(ctx)) in get_tex_parameteriv()2252 if (!_mesa_is_gles(ctx) || !ctx->Extensions.OES_EGL_image_external) in get_tex_parameteriv()
867 if (_mesa_is_gles(ctx) && (texObj->_IsFloat || texObj->_IsHalfFloat)) { in test_attachment_completeness()1393 bind_renderbuffer(target, renderbuffer, _mesa_is_gles(ctx)); in _mesa_BindRenderbuffer()2090 return _mesa_is_gles(ctx) || ctx->Extensions.ARB_ES2_compatibility in _mesa_base_fbo_format()2713 bind_framebuffer(target, framebuffer, _mesa_is_gles(ctx)); in _mesa_BindFramebuffer()3121 (_mesa_is_gles(ctx) && ctx->Version < 30); in check_textarget()3127 (_mesa_is_gles(ctx) && ctx->Version < 31); in check_textarget()3130 err = dims != 2 || _mesa_is_gles(ctx) || in check_textarget()
200 return _mesa_is_gles(ctx) && ctx->Extensions.OES_EGL_image_external in _mesa_get_current_tex_object()701 if (_mesa_is_gles(ctx) && !valid_filter_for_float(ctx, t)) { in _mesa_test_texobj_completeness()1615 return _mesa_is_gles(ctx) && ctx->Extensions.OES_EGL_image_external in _mesa_tex_target_to_index()
1196 if (ctx->Visual.doubleBufferMode || _mesa_is_gles(ctx)) { in _mesa_init_color()1211 ctx->Color.sRGBEnabled = _mesa_is_gles(ctx); in _mesa_init_color()
651 if (_mesa_is_gles(ctx) && !texObj->Immutable && in _mesa_BindImageTexture()
206 create_version_string(ctx, _mesa_is_gles(ctx) ? "OpenGL ES " : ""); in _mesa_override_gl_version()
229 if (_mesa_is_gles(ctx) && in validate_color_buffer()
1104 if (!_mesa_is_gles(ctx)) in _mesa_set_enable()1719 if (!_mesa_is_gles(ctx)) in _mesa_IsEnabled()
1393 return _mesa_is_gles(ctx) in _mesa_is_compressed_format()2346 if (_mesa_is_gles(ctx)) { in _mesa_base_tex_format()
1080 if (_mesa_is_gles(ctx) && ctx->Extensions.OES_EGL_image_external) in create_new_program()
1038 if (_mesa_is_gles(ctx)) { in read_pixels()
222 if (_mesa_is_gles(ctx)) { in get_legal_types_mask()366 if (_mesa_is_gles(ctx) && sizeMax == BGRA_OR_4) { in validate_array_format()
1737 if (_mesa_is_gles(newCtx) && in _mesa_make_current()
56 if (internalFormat == GL_RGBA32F && _mesa_is_gles(ctx)) { in brw_query_samples_for_format()
2266 if (_mesa_is_gles(ctx)) { in st_ChooseTextureFormat()