/third_party/mesa3d/src/mesa/main/ |
D | enable.c | 354 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 …]
|
D | getstring.c | 49 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 …]
|
D | version.c | 66 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()
|
D | texenv.c | 124 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()
|
D | texgen.c | 128 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()
|
D | hint.c | 54 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()
|
D | fog.c | 137 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()
|
D | state.c | 96 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()
|
D | texparam.c | 75 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 …]
|
D | extensions_table.c | 41 [API_OPENGL_COMPAT] = gll_ver, \
|
D | draw_validate.c | 149 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()
|
D | menums.h | 45 API_OPENGL_COMPAT, /* legacy / compatibility contexts */ enumerator
|
D | light.c | 509 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()
|
D | fbobject.c | 770 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 …]
|
D | points.c | 171 if ((ctx->API == API_OPENGL_COMPAT && ctx->Version >= 20) in _mesa_PointParameterfv()
|
D | context.h | 258 return ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE; in _mesa_is_desktop_gl()
|
D | objectlabel.c | 218 if (ctx->API == API_OPENGL_COMPAT) { in get_label_pointer()
|
D | context.c | 943 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/ |
D | vbo_context.c | 170 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/ |
D | dri_util.c | 156 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()
|
D | dri_context.c | 91 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/ |
D | st_util.h | 70 return (ctx->API == API_OPENGL_COMPAT || in st_user_clip_planes_enabled()
|
D | st_atom.c | 214 if (st->ctx->API == API_OPENGL_COMPAT) in st_validate_state()
|
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp.c | 106 gl_ctx->API = API_OPENGL_COMPAT; in init_fake_gl_context()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | test_optpass.cpp | 178 initialize_context_to_defaults(ctx, API_OPENGL_COMPAT); in test_optpass()
|