Home
last modified time | relevance | path

Searched refs:API_OPENGL_COMPAT (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mesa3d/src/mesa/main/
Denable.c354 if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES) { in _mesa_set_multisample()
404 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_set_enable()
415 if (ctx->API != API_OPENGL_COMPAT) in _mesa_set_enable()
458 if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES) { in _mesa_set_enable()
471 if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES) { in _mesa_set_enable()
482 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_set_enable()
526 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_set_enable()
543 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_set_enable()
558 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_set_enable()
578 if (ctx->API != API_OPENGL_COMPAT) in _mesa_set_enable()
[all …]
Dgetstring.c49 case API_OPENGL_COMPAT: in shading_language_version()
169 if (ctx->API == API_OPENGL_COMPAT && in _mesa_GetString()
257 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _get_vao_pointerv()
262 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _get_vao_pointerv()
267 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _get_vao_pointerv()
272 if (ctx->API != API_OPENGL_COMPAT) in _get_vao_pointerv()
277 if (ctx->API != API_OPENGL_COMPAT) in _get_vao_pointerv()
282 if (ctx->API != API_OPENGL_COMPAT) in _get_vao_pointerv()
287 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _get_vao_pointerv()
292 if (ctx->API != API_OPENGL_COMPAT) in _get_vao_pointerv()
[all …]
Dversion.c66 const char *env_var = (api == API_OPENGL_CORE || api == API_OPENGL_COMPAT) in get_gl_override()
75 [API_OPENGL_COMPAT] = { -1, false, false}, in get_gl_override()
140 (ctx->API == API_OPENGL_COMPAT && ctx->Version >= 32) ? in create_version_string()
181 if (*apiOut == API_OPENGL_CORE || *apiOut == API_OPENGL_COMPAT) { in _mesa_override_gl_version_contextless()
186 *apiOut = API_OPENGL_COMPAT; in _mesa_override_gl_version_contextless()
574 case API_OPENGL_COMPAT: in _mesa_get_version()
632 case API_OPENGL_COMPAT: in _mesa_compute_version()
655 if (ctx->API == API_OPENGL_COMPAT && ctx->Version >= 31) in _mesa_compute_version()
668 if (ctx->API == API_OPENGL_COMPAT) { in _mesa_compute_version()
Dtexenv.c124 legal = (ctx->API == API_OPENGL_COMPAT && in set_combiner_mode()
135 legal = (ctx->API == API_OPENGL_COMPAT && in set_combiner_mode()
205 if ((term == 3) && (ctx->API != API_OPENGL_COMPAT in set_combiner_source()
234 legal = (ctx->API == API_OPENGL_COMPAT && in set_combiner_source()
239 legal = (ctx->API == API_OPENGL_COMPAT && in set_combiner_source()
293 if ((term == 3) && (ctx->API != API_OPENGL_COMPAT in set_combiner_operand()
635 if (ctx->API == API_OPENGL_COMPAT && ctx->Extensions.NV_texture_env_combine4) { in get_texenvi()
649 if (ctx->API == API_OPENGL_COMPAT && ctx->Extensions.NV_texture_env_combine4) { in get_texenvi()
663 if (ctx->API == API_OPENGL_COMPAT && ctx->Extensions.NV_texture_env_combine4) { in get_texenvi()
677 if (ctx->API == API_OPENGL_COMPAT && ctx->Extensions.NV_texture_env_combine4) { in get_texenvi()
Dtexgen.c128 if (ctx->API != API_OPENGL_COMPAT in texgenfv()
143 if (ctx->API != API_OPENGL_COMPAT) { in texgenfv()
158 if (ctx->API != API_OPENGL_COMPAT) { in texgenfv()
238 if (ctx->API != API_OPENGL_COMPAT) { in gettexgenfv()
245 if (ctx->API != API_OPENGL_COMPAT) { in gettexgenfv()
279 if (ctx->API != API_OPENGL_COMPAT) { in gettexgeniv()
289 if (ctx->API != API_OPENGL_COMPAT) { in gettexgeniv()
Dhint.c54 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_Hint()
70 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_Hint()
78 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in _mesa_Hint()
Dfog.c137 if (ctx->API != API_OPENGL_COMPAT) in _mesa_Fogfv()
159 if (ctx->API != API_OPENGL_COMPAT || in _mesa_Fogfv()
172 if (ctx->API != API_OPENGL_COMPAT || !ctx->Extensions.NV_fog_distance || in _mesa_Fogfv()
Dstate.c96 assert(ctx->API == API_OPENGL_COMPAT); in _mesa_update_allow_draw_out_of_order()
350 if (ctx->API == API_OPENGL_COMPAT && in update_program_constants()
420 if (ctx->API == API_OPENGL_COMPAT || in _mesa_update_state_locked()
573 if (ctx->API == API_OPENGL_COMPAT) in set_vertex_processing_mode()
Dtexparam.c75 supported = (ctx->API == API_OPENGL_COMPAT) in validate_texture_wrap_mode()
449 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in set_tex_parameteri()
512 if (ctx->API == API_OPENGL_COMPAT) { in set_tex_parameteri()
785 if (ctx->API != API_OPENGL_COMPAT) in set_tex_parameterf()
1769 if (ctx->API != API_OPENGL_COMPAT) in get_tex_level_parameter_image()
1784 if (ctx->API != API_OPENGL_COMPAT) in get_tex_level_parameter_image()
1837 if (ctx->API != API_OPENGL_COMPAT) in get_tex_level_parameter_image()
2313 if (ctx->API != API_OPENGL_COMPAT) in get_tex_parameterfv()
2319 if (ctx->API != API_OPENGL_COMPAT) in get_tex_parameterfv()
2351 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) in get_tex_parameterfv()
[all …]
Dextensions_table.c41 [API_OPENGL_COMPAT] = gll_ver, \
Ddraw_validate.c149 if (ctx->API == API_OPENGL_COMPAT) { in _mesa_update_valid_to_render_state()
235 case API_OPENGL_COMPAT: in _mesa_update_valid_to_render_state()
Dmenums.h45 API_OPENGL_COMPAT, /* legacy / compatibility contexts */ enumerator
Dlight.c509 if (ctx->API != API_OPENGL_COMPAT) in _mesa_LightModelfv()
527 if (ctx->API != API_OPENGL_COMPAT) in _mesa_LightModelfv()
859 if (ctx->API != API_OPENGL_COMPAT) { in _mesa_GetMaterialfv()
880 assert(ctx->API == API_OPENGL_COMPAT); in _mesa_GetMaterialiv()
1272 ctx->Light.ClampVertexColor = ctx->API == API_OPENGL_COMPAT; in _mesa_init_lighting()
1273 ctx->Light._ClampVertexColor = ctx->API == API_OPENGL_COMPAT; in _mesa_init_lighting()
Dfbobject.c770 return ctx->API == API_OPENGL_COMPAT && in _mesa_is_legal_color_format()
2340 return (ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2347 return (ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2356 return (ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2363 return (ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2413 || (ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2418 || (ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2476 return ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2545 return ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
2550 return ctx->API == API_OPENGL_COMPAT && in _mesa_base_fbo_format()
[all …]
Dpoints.c171 if ((ctx->API == API_OPENGL_COMPAT && ctx->Version >= 20) in _mesa_PointParameterfv()
Dcontext.h258 return ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE; in _mesa_is_desktop_gl()
Dobjectlabel.c218 if (ctx->API == API_OPENGL_COMPAT) { in get_label_pointer()
Dcontext.c943 if (ctx->API == API_OPENGL_COMPAT) in _mesa_initialize_dispatch_tables()
1051 case API_OPENGL_COMPAT: in _mesa_initialize_context()
1432 || (ctx->API == API_OPENGL_COMPAT in handle_first_current()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_context.c170 if (ctx->API == API_OPENGL_COMPAT) in _vbo_CreateContext()
191 if (ctx->API == API_OPENGL_COMPAT) in _vbo_DestroyContext()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_util.c156 api = API_OPENGL_COMPAT; in driCreateNewScreen2()
159 if (api == API_OPENGL_COMPAT) in driCreateNewScreen2()
411 case API_OPENGL_COMPAT: in validate_context_version()
474 mesa_api = API_OPENGL_COMPAT; in driCreateContextAttribs()
551 if (mesa_api == API_OPENGL_COMPAT && in driCreateContextAttribs()
584 if (mesa_api != API_OPENGL_COMPAT in driCreateContextAttribs()
Ddri_context.c91 case API_OPENGL_COMPAT: in dri_create_context()
96 attribs.profile = api == API_OPENGL_COMPAT ? ST_PROFILE_DEFAULT in dri_create_context()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_util.h70 return (ctx->API == API_OPENGL_COMPAT || in st_user_clip_planes_enabled()
Dst_atom.c214 if (st->ctx->API == API_OPENGL_COMPAT) in st_validate_state()
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.c106 gl_ctx->API = API_OPENGL_COMPAT; in init_fake_gl_context()
/third_party/mesa3d/src/compiler/glsl/
Dtest_optpass.cpp178 initialize_context_to_defaults(ctx, API_OPENGL_COMPAT); in test_optpass()

12