/external/mesa3d/src/mesa/main/ |
D | enable.c | 276 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_set_enable() 284 if (ctx->API != API_OPENGL) in _mesa_set_enable() 333 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_set_enable() 369 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_set_enable() 384 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_set_enable() 399 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_set_enable() 420 if (ctx->API != API_OPENGL) in _mesa_set_enable() 429 if (ctx->API != API_OPENGL) in _mesa_set_enable() 445 if (ctx->API != API_OPENGL) in _mesa_set_enable() 453 if (ctx->API != API_OPENGL) in _mesa_set_enable() [all …]
|
D | getstring.c | 43 case API_OPENGL: in shading_language_version() 143 if (ctx->API == API_OPENGL && in _mesa_GetString() 215 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_GetPointerv() 220 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_GetPointerv() 225 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_GetPointerv() 230 if (ctx->API != API_OPENGL) in _mesa_GetPointerv() 235 if (ctx->API != API_OPENGL) in _mesa_GetPointerv() 240 if (ctx->API != API_OPENGL) in _mesa_GetPointerv() 245 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_GetPointerv() 250 if (ctx->API != API_OPENGL) in _mesa_GetPointerv() [all …]
|
D | api_exec.c | 148 if (ctx->API == API_OPENGL || ctx->API == API_OPENGL_CORE) in _mesa_create_exec_table() 163 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 204 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 213 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 228 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 232 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 264 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 280 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 295 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() 320 if (ctx->API == API_OPENGL) { in _mesa_create_exec_table() [all …]
|
D | hint.c | 54 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_Hint() 70 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_Hint() 78 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_Hint() 96 if (ctx->API != API_OPENGL) in _mesa_Hint()
|
D | texenv.c | 125 legal = (ctx->API == API_OPENGL && in set_combiner_mode() 137 legal = (ctx->API == API_OPENGL && in set_combiner_mode() 141 legal = (ctx->API == API_OPENGL && in set_combiner_mode() 209 if ((term == 3) && (ctx->API != API_OPENGL in set_combiner_source() 239 legal = (ctx->API == API_OPENGL && in set_combiner_source() 244 legal = (ctx->API == API_OPENGL && in set_combiner_source() 296 if ((term == 3) && (ctx->API != API_OPENGL in set_combiner_operand() 445 if (ctx->API != API_OPENGL || !ctx->Extensions.ATI_envmap_bumpmap) { in _mesa_TexEnvfv() 591 if (ctx->API == API_OPENGL && ctx->Extensions.NV_texture_env_combine4) { in get_texenvi() 605 if (ctx->API == API_OPENGL && ctx->Extensions.NV_texture_env_combine4) { in get_texenvi() [all …]
|
D | texgen.c | 135 if (ctx->API != API_OPENGL in _mesa_TexGenfv() 149 if (ctx->API != API_OPENGL) { in _mesa_TexGenfv() 164 if (ctx->API != API_OPENGL) { in _mesa_TexGenfv() 360 if (ctx->API != API_OPENGL) { in _mesa_GetTexGenfv() 367 if (ctx->API != API_OPENGL) { in _mesa_GetTexGenfv() 406 if (ctx->API != API_OPENGL) { in _mesa_GetTexGeniv() 416 if (ctx->API != API_OPENGL) { in _mesa_GetTexGeniv()
|
D | fbobject.c | 1078 return ctx->API == API_OPENGL && ctx->Extensions.ARB_framebuffer_object in _mesa_base_fbo_format() 1085 return ctx->API == API_OPENGL && ctx->Extensions.ARB_framebuffer_object in _mesa_base_fbo_format() 1094 return ctx->API == API_OPENGL && ctx->Extensions.ARB_framebuffer_object in _mesa_base_fbo_format() 1101 return ctx->API == API_OPENGL && ctx->Extensions.ARB_framebuffer_object in _mesa_base_fbo_format() 1152 || (ctx->API == API_OPENGL && ctx->Extensions.ARB_depth_buffer_float) in _mesa_base_fbo_format() 1156 || (ctx->API == API_OPENGL && ctx->Extensions.ARB_depth_buffer_float) in _mesa_base_fbo_format() 1175 || (ctx->API == API_OPENGL && ctx->Extensions.EXT_texture_snorm) in _mesa_base_fbo_format() 1183 || (ctx->API == API_OPENGL && ctx->Extensions.EXT_texture_snorm) in _mesa_base_fbo_format() 1191 || (ctx->API == API_OPENGL && ctx->Extensions.EXT_texture_snorm) in _mesa_base_fbo_format() 1199 || (ctx->API == API_OPENGL && ctx->Extensions.EXT_texture_snorm) in _mesa_base_fbo_format() [all …]
|
D | texparam.c | 67 supported = (ctx->API == API_OPENGL) in validate_texture_wrap_mode() 356 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in set_tex_parameteri() 416 if (ctx->API == API_OPENGL && ctx->Extensions.ARB_depth_texture) { in set_tex_parameteri() 562 if (ctx->API != API_OPENGL) in set_tex_parameterf() 595 if (ctx->API != API_OPENGL) in set_tex_parameterf() 1332 if (ctx->API != API_OPENGL) in _mesa_GetTexParameterfv() 1338 if (ctx->API != API_OPENGL) in _mesa_GetTexParameterfv() 1370 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) in _mesa_GetTexParameterfv() 1391 if (ctx->API != API_OPENGL || !ctx->Extensions.ARB_depth_texture) in _mesa_GetTexParameterfv() 1396 if (ctx->API != API_OPENGL) in _mesa_GetTexParameterfv() [all …]
|
D | fog.c | 144 if (ctx->API != API_OPENGL) in _mesa_Fogfv() 166 if (ctx->API != API_OPENGL || !ctx->Extensions.EXT_fog_coord || in _mesa_Fogfv() 179 if (ctx->API != API_OPENGL || !ctx->Extensions.NV_fog_distance || in _mesa_Fogfv()
|
D | vtxfmt.c | 60 if (ctx->API == API_OPENGL) { in install_vtxfmt() 98 if (ctx->API == API_OPENGL) { in install_vtxfmt() 142 if (ctx->API == API_OPENGL) { in install_vtxfmt()
|
D | api_validate.c | 132 case API_OPENGL: in check_valid_to_render() 228 valid_enum = (ctx->API == API_OPENGL); in _mesa_valid_prim_mode()
|
D | context.h | 299 return ctx->API == API_OPENGL || ctx->API == API_OPENGL_CORE; in _mesa_is_desktop_gl()
|
D | light.c | 469 if (ctx->API != API_OPENGL) in _mesa_LightModelfv() 489 if (ctx->API != API_OPENGL) in _mesa_LightModelfv() 801 if (ctx->API != API_OPENGL) { in _mesa_GetMaterialfv() 823 ASSERT(ctx->API == API_OPENGL); in _mesa_GetMaterialiv()
|
D | matrix.c | 190 if (ctx->API == API_OPENGL && ctx->Extensions.NV_vertex_program) { in _mesa_MatrixMode() 206 if (ctx->API == API_OPENGL in _mesa_MatrixMode()
|
D | points.c | 196 if ((ctx->API == API_OPENGL && ctx->Version >= 20) in _mesa_PointParameterfv()
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 186 mesa_api = API_OPENGL; in dri2CreateContextAttribs() 227 if (mesa_api == API_OPENGL && major_version == 3 && minor_version == 1) in dri2CreateContextAttribs() 230 if (mesa_api == API_OPENGL in dri2CreateContextAttribs() 247 if (mesa_api != API_OPENGL in dri2CreateContextAttribs()
|
D | drisw_util.c | 120 mesa_api = API_OPENGL; in driCreateContextAttribs()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_context.c | 192 if (ctx->API == API_OPENGL) in _vbo_CreateContext() 224 if (ctx->API == API_OPENGL) in _vbo_DestroyContext()
|
/external/mesa3d/src/glsl/glcpp/ |
D | glcpp.c | 114 ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, API_OPENGL); in main()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_context.c | 63 case API_OPENGL: in nouveau_context_create() 136 _mesa_initialize_context(ctx, API_OPENGL, visual, in nouveau_context_init()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 603 if (ctx->API == API_OPENGL) { in _mesa_meta_begin() 616 if (ctx->API == API_OPENGL && ctx->Extensions.ARB_vertex_program) { in _mesa_meta_begin() 623 if (ctx->API == API_OPENGL && ctx->Extensions.ARB_fragment_program) { in _mesa_meta_begin() 630 if (ctx->API == API_OPENGL && ctx->Extensions.ATI_fragment_shader) { in _mesa_meta_begin() 664 if (ctx->API == API_OPENGL || ctx->API == API_OPENGLES) { in _mesa_meta_begin() 677 if (ctx->API == API_OPENGL) { in _mesa_meta_begin() 702 if (ctx->API == API_OPENGL || ctx->API == API_OPENGLES) { in _mesa_meta_begin() 920 if (ctx->API == API_OPENGL) { in _mesa_meta_end() 935 if (ctx->API == API_OPENGL && ctx->Extensions.ARB_vertex_program) { in _mesa_meta_end() 943 if (ctx->API == API_OPENGL && ctx->Extensions.ARB_fragment_program) { in _mesa_meta_end() [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_context.c | 84 case API_OPENGL: in dri_create_context()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri_context.c | 84 case API_OPENGL: in dri_create_context()
|
/external/mesa3d/src/glsl/ |
D | test_optpass.cpp | 200 initialize_context_to_defaults(ctx, API_OPENGL); in test_optpass()
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | dri_context.c | 84 case API_OPENGL: in dri_create_context()
|