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()
460 if (_mesa_is_gles(ctx)) in compressed_format_compatible()471 if (_mesa_is_gles(ctx)) in compressed_format_compatible()477 if (_mesa_is_gles(ctx) && _mesa_is_astc_format(compressedFormat)) in compressed_format_compatible()
70 if (ctx && _mesa_is_gles(ctx)) { in _mesa_init_renderbuffer()
316 if (_mesa_is_gles(ctx)) { in _mesa_get_compressed_formats()328 if (_mesa_is_gles(ctx) in _mesa_get_compressed_formats()
306 _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()
1014 if ((_mesa_is_gles(ctx) || (ctx->Const.ContextFlags & GL_CONTEXT_FLAG_DEBUG_BIT)) && in _mesa_validate_program_pipeline()1016 if (_mesa_is_gles(ctx)) in _mesa_validate_program_pipeline()
1871 if (err == GL_INVALID_ENUM && _mesa_is_gles(ctx) && ctx->Version < 20) in texture_error_check()1896 if (_mesa_is_gles(ctx) && in texture_error_check()2217 GLenum internalFormat = _mesa_is_gles(ctx) ? in texsubimage_error_check()2226 if (_mesa_is_gles(ctx) && in texsubimage_error_check()2340 if (_mesa_is_gles(ctx) && !_mesa_is_gles3(ctx)) { in copytexture_error_check()2398 if (_mesa_is_gles(ctx)) { in copytexture_error_check()2489 } else if (_mesa_is_gles(ctx) && in copytexture_error_check()2508 if (_mesa_is_gles(ctx) && is_unorm != is_rbunorm) in copytexture_error_check()2658 if (_mesa_is_gles(ctx) && _mesa_is_stencil_format(texImage->_BaseFormat)) { in copytexsubimage_error_check()3054 if (_mesa_is_gles(ctx) && format == internalFormat) { in teximage()[all …]
102 if (!no_error && !_mesa_is_gles(ctx)) in pixel_storei()
667 if (_mesa_is_gles(ctx)) { in _mesa_GetQueryIndexediv()819 if (_mesa_is_gles(ctx) && in get_query_object()
728 if (_mesa_is_gles(ctx)) in set_tex_parameterf()2252 if (_mesa_is_gles(ctx)) in get_tex_parameterfv()2335 if (!_mesa_is_gles(ctx) || !ctx->Extensions.OES_EGL_image_external) in get_tex_parameterfv()2514 if (_mesa_is_gles(ctx)) in get_tex_parameteriv()2601 if (!_mesa_is_gles(ctx) || !ctx->Extensions.OES_EGL_image_external) in get_tex_parameteriv()
1218 if (ctx->Visual.doubleBufferMode || _mesa_is_gles(ctx)) { in _mesa_init_color()1233 ctx->Color.sRGBEnabled = _mesa_is_gles(ctx); in _mesa_init_color()
977 if (_mesa_is_gles(ctx) && !gles_check_float_renderable(ctx, att)) { in test_attachment_completeness()1158 if ((_mesa_is_gles(ctx) && _mesa_has_EXT_color_buffer_half_float(ctx)) && in _mesa_test_framebuffer_completeness()2317 (_mesa_is_gles(ctx) && _mesa_has_EXT_color_buffer_half_float(ctx)) in _mesa_base_fbo_format()2442 return _mesa_is_gles(ctx) || ctx->Extensions.ARB_ES2_compatibility in _mesa_base_fbo_format()3595 (_mesa_is_gles(ctx) && ctx->Version < 30); in check_textarget()3601 (_mesa_is_gles(ctx) && ctx->Version < 31); in check_textarget()3604 err = dims != 2 || _mesa_is_gles(ctx) || in check_textarget()
646 if (_mesa_is_gles(ctx) && !texObj->Immutable && in _mesa_BindImageTexture()
201 return _mesa_is_gles(ctx) && ctx->Extensions.OES_EGL_image_external in _mesa_get_current_tex_object()738 if (_mesa_is_gles(ctx) && !valid_filter_for_float(ctx, t)) { in _mesa_test_texobj_completeness()1625 return _mesa_is_gles(ctx) && ctx->Extensions.OES_EGL_image_external in _mesa_tex_target_to_index()
204 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()
1076 if (_mesa_is_gles(ctx)) { in read_pixels()
1078 if (_mesa_is_gles(ctx) && ctx->Extensions.OES_EGL_image_external) in create_new_program()
1773 if (_mesa_is_gles(newCtx) && in _mesa_make_current()
557 if (_mesa_is_gles(ctx)) { in get_legal_types_mask()697 if (_mesa_is_gles(ctx) && sizeMax == BGRA_OR_4) { in validate_array_format()
2324 if (_mesa_is_gles(ctx)) { in _mesa_base_tex_format()
57 if (internalFormat == GL_RGBA32F && _mesa_is_gles(ctx)) { in brw_query_samples_for_format()
1295 if (_mesa_is_gles(ctx)) { in st_ChooseTextureFormat()
383 if (!_mesa_is_gles(st->ctx) || !nir->info.separate_shader) { in st_nir_preprocess()