Home
last modified time | relevance | path

Searched refs:API_OPENGLES2 (Results 1 – 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/mesa/main/
Dcontext.h268 return ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2; in _mesa_is_gles()
278 return ctx->API == API_OPENGLES2 && ctx->Version >= 30; in _mesa_is_gles3()
288 return ctx->API == API_OPENGLES2 && ctx->Version >= 31; in _mesa_is_gles31()
298 return ctx->API == API_OPENGLES2 && ctx->Version >= 32; in _mesa_is_gles32()
385 (ctx->API == API_OPENGLES2 && ctx->Version >= 31); in _mesa_has_compute_shaders()
Dversion.c77 [API_OPENGLES2] = { -1, false, false}, in get_gl_override()
108 (api == API_OPENGLES2 && (override[api].fc_suffix || in get_gl_override()
585 case API_OPENGLES2: in _mesa_get_version()
645 case API_OPENGLES2: in _mesa_compute_version()
765 if ((ctx->API == API_OPENGLES2 && ctx->Version >= 32) || in _mesa_get_shading_language_version()
772 if (ctx->API == API_OPENGLES2 || ctx->Extensions.ARB_ES2_compatibility) in _mesa_get_shading_language_version()
Dextensions_table.c44 [API_OPENGLES2] = gles2_ver, \
Dmenums.h47 API_OPENGLES2, enumerator
Dpoints.c232 ctx->API == API_OPENGLES2); in _mesa_init_point()
Dgenmipmap.c164 if (ctx->API == API_OPENGLES2 && ctx->Version < 30 && in generate_texture_mipmap()
Ddraw_validate.c191 case API_OPENGLES2: in _mesa_update_valid_to_render_state()
Dmultisample.c245 if ((ctx->API == API_OPENGLES2 && ctx->Version == 30) && in _mesa_check_sample_count()
Dbuffers.c461 if (ctx->API == API_OPENGLES2 && _mesa_is_winsys_fbo(fb) && in draw_buffers()
590 if (ctx->API == API_OPENGLES2 && _mesa_is_user_fbo(fb) && in draw_buffers()
Dgetstring.c83 case API_OPENGLES2: in shading_language_version()
Dglformats.c1857 ctx->API == API_OPENGLES2) { in _mesa_error_check_format_and_type()
1864 if (ctx->API == API_OPENGLES2 && format == GL_DEPTH_COMPONENT) in _mesa_error_check_format_and_type()
1988 return (ctx->API == API_OPENGLES2) in _mesa_error_check_format_and_type()
2339 ctx->API == API_OPENGLES2) { in _mesa_base_tex_format()
Dblend.c68 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_src_factor()
104 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2; in legal_dst_factor()
Dcontext.c1059 case API_OPENGLES2: in _mesa_initialize_context()
1079 ctx->VertexProgram.PointSizeEnabled = ctx->API == API_OPENGLES2; in _mesa_initialize_context()
Dtexcompress.c405 if (ctx->API == API_OPENGLES2 && in _mesa_get_compressed_formats()
Dget.c1426 if (ctx->API == API_OPENGLES2) in check_extra()
1600 if (ctx->API == API_OPENGLES2) { in find_value()
2468 !(ctx->API == API_OPENGLES2 && !ctx->Extensions.OES_texture_3D)) in tex_binding_to_index()
2752 if (ctx->API == API_OPENGLES2 && ctx->Version < 31) in find_value_indexed()
Dtexobj.c172 return !(ctx->API == API_OPENGLES2 && !ctx->Extensions.OES_texture_3D) in _mesa_get_current_tex_object()
1542 !(ctx->API == API_OPENGLES2 && !ctx->Extensions.OES_texture_3D)) in _mesa_tex_target_to_index()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_util.h87 else if (ctx->API != API_OPENGLES2) { in st_point_size_per_vertex()
Dst_atom_rasterizer.c224 raster->point_tri_clip = st->ctx->API == API_OPENGLES2; in st_update_rasterizer()
Dst_manager.c1024 api = API_OPENGLES2; in st_api_create_context()
1446 *gl_es2_version = get_version(sm->screen, options, API_OPENGLES2); in st_api_query_versions()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.cpp98 if (ctx->API == API_OPENGLES2) { in _mesa_glsl_parse_state()
241 if (ctx->API == API_OPENGLES2 || ctx->Extensions.ARB_ES2_compatibility) { in _mesa_glsl_parse_state()
259 if ((ctx->API == API_OPENGLES2 && ctx->Version >= 32) || in _mesa_glsl_parse_state()
429 case API_OPENGLES2: in set_valid_gl_and_glsl_versions()
856 if (state->es_shader && api != API_OPENGLES2) in _mesa_glsl_process_extension()
857 api = API_OPENGLES2; in _mesa_glsl_process_extension()
2076 api = API_OPENGLES2; in add_builtin_defines()
Dgl_nir_opt_dead_builtin_varyings.c471 api == API_OPENGLES2) { in gl_nir_opt_dead_builtin_varyings()
Dstandalone.cpp428 initialize_context(ctx, API_OPENGLES2); in standalone_compile_shader()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_util.c152 api = API_OPENGLES2; in driCreateNewScreen2()
420 case API_OPENGLES2: in validate_context_version()
481 mesa_api = API_OPENGLES2; in driCreateContextAttribs()
Ddri_context.c88 case API_OPENGLES2: in dri_create_context()
/third_party/mesa3d/src/mesa/program/
Dprogram.c94 (ctx->API == API_OPENGLES2) ? GL_TRUE : GL_FALSE; in _mesa_init_program()

12