Home
last modified time | relevance | path

Searched refs:API_OPENGL (Results 1 – 25 of 53) sorted by relevance

123

/external/mesa3d/src/mesa/main/
Denable.c276 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 …]
Dgetstring.c43 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 …]
Dapi_exec.c148 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 …]
Dhint.c54 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()
Dtexenv.c125 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 …]
Dtexgen.c135 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()
Dfbobject.c1078 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 …]
Dtexparam.c67 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 …]
Dfog.c144 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()
Dvtxfmt.c60 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()
Dapi_validate.c132 case API_OPENGL: in check_valid_to_render()
228 valid_enum = (ctx->API == API_OPENGL); in _mesa_valid_prim_mode()
Dcontext.h299 return ctx->API == API_OPENGL || ctx->API == API_OPENGL_CORE; in _mesa_is_desktop_gl()
Dlight.c469 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()
Dmatrix.c190 if (ctx->API == API_OPENGL && ctx->Extensions.NV_vertex_program) { in _mesa_MatrixMode()
206 if (ctx->API == API_OPENGL in _mesa_MatrixMode()
Dpoints.c196 if ((ctx->API == API_OPENGL && ctx->Version >= 20) in _mesa_PointParameterfv()
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c186 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()
Ddrisw_util.c120 mesa_api = API_OPENGL; in driCreateContextAttribs()
/external/mesa3d/src/mesa/vbo/
Dvbo_context.c192 if (ctx->API == API_OPENGL) in _vbo_CreateContext()
224 if (ctx->API == API_OPENGL) in _vbo_DestroyContext()
/external/mesa3d/src/glsl/glcpp/
Dglcpp.c114 ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, API_OPENGL); in main()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c63 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/
Dmeta.c603 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/
Ddri_context.c84 case API_OPENGL: in dri_create_context()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_context.c84 case API_OPENGL: in dri_create_context()
/external/mesa3d/src/glsl/
Dtest_optpass.cpp200 initialize_context_to_defaults(ctx, API_OPENGL); in test_optpass()
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_context.c84 case API_OPENGL: in dri_create_context()

123