Lines Matching full:extensions
75 GrGLExtensions extensions; in GrGLMakeAssembledGLInterface() local
76 if (!extensions.init(kGL_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString, in GrGLMakeAssembledGLInterface()
94 if (extensions.has("GL_KHR_blend_equation_advanced")) { in GrGLMakeAssembledGLInterface()
96 } else if (extensions.has("GL_NV_blend_equation_advanced")) { in GrGLMakeAssembledGLInterface()
108 if (glVer >= GR_GL_VER(4,4) || extensions.has("GL_ARB_clear_texture")) { in GrGLMakeAssembledGLInterface()
133 if (glVer >= GR_GL_VER(3,1) || extensions.has("GL_ARB_draw_instanced") || in GrGLMakeAssembledGLInterface()
134 extensions.has("GL_EXT_draw_instanced")) { in GrGLMakeAssembledGLInterface()
139 if (glVer >= GR_GL_VER(4,0) || extensions.has("GL_ARB_draw_indirect")) { in GrGLMakeAssembledGLInterface()
154 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_texture_multisample")) { in GrGLMakeAssembledGLInterface()
159 if (glVer >= GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) { in GrGLMakeAssembledGLInterface()
163 } else if (extensions.has("GL_EXT_timer_query")) { in GrGLMakeAssembledGLInterface()
184 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_multi_draw_indirect")) { in GrGLMakeAssembledGLInterface()
212 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) { in GrGLMakeAssembledGLInterface()
214 } else if (extensions.has("GL_EXT_texture_storage")) { in GrGLMakeAssembledGLInterface()
218 if (glVer >= GR_GL_VER(4,5) || extensions.has("GL_ARB_texture_barrier")) { in GrGLMakeAssembledGLInterface()
220 } else if (extensions.has("GL_NV_texture_barrier")) { in GrGLMakeAssembledGLInterface()
249 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_instanced_arrays")) { in GrGLMakeAssembledGLInterface()
261 if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_ARB_vertex_array_object")) { in GrGLMakeAssembledGLInterface()
266 } else if (extensions.has("GL_APPLE_vertex_array_object")) { in GrGLMakeAssembledGLInterface()
272 if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_ARB_map_buffer_range")) { in GrGLMakeAssembledGLInterface()
279 if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_ARB_framebuffer_object")) { in GrGLMakeAssembledGLInterface()
295 } else if (extensions.has("GL_EXT_framebuffer_object")) { in GrGLMakeAssembledGLInterface()
309 if (extensions.has("GL_EXT_framebuffer_multisample")) { in GrGLMakeAssembledGLInterface()
312 if (extensions.has("GL_EXT_framebuffer_blit")) { in GrGLMakeAssembledGLInterface()
320 if (extensions.has("GL_NV_path_rendering")) { in GrGLMakeAssembledGLInterface()
345 if (extensions.has("GL_NV_framebuffer_mixed_samples")) { in GrGLMakeAssembledGLInterface()
349 if (extensions.has("GL_EXT_debug_marker")) { in GrGLMakeAssembledGLInterface()
355 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) { in GrGLMakeAssembledGLInterface()
364 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_query")) { in GrGLMakeAssembledGLInterface()
368 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) { in GrGLMakeAssembledGLInterface()
379 if (extensions.has("GL_EXT_window_rectangles")) { in GrGLMakeAssembledGLInterface()
383 if (extensions.has("EGL_KHR_image") || extensions.has("EGL_KHR_image_base")) { in GrGLMakeAssembledGLInterface()
388 if (glVer >= GR_GL_VER(3, 2) || extensions.has("GL_ARB_sync")) { in GrGLMakeAssembledGLInterface()
396 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_internalformat_query")) { in GrGLMakeAssembledGLInterface()
406 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_sampler_objects")) { in GrGLMakeAssembledGLInterface()
415 interface->fExtensions.swap(&extensions); in GrGLMakeAssembledGLInterface()
438 GrGLExtensions extensions; in GrGLMakeAssembledGLESInterface() local
439 if (!extensions.init(kGLES_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString, in GrGLMakeAssembledGLESInterface()
457 } else if (extensions.has("GL_OES_vertex_array_object")) { in GrGLMakeAssembledGLESInterface()
463 if (version >= GR_GL_VER(3,0) && extensions.has("GL_EXT_blend_func_extended")) { in GrGLMakeAssembledGLESInterface()
468 if (extensions.has("GL_KHR_blend_equation_advanced")) { in GrGLMakeAssembledGLESInterface()
470 } else if (extensions.has("GL_NV_blend_equation_advanced")) { in GrGLMakeAssembledGLESInterface()
482 if (extensions.has("GL_EXT_clear_texture")) { in GrGLMakeAssembledGLESInterface()
507 } else if (extensions.has("GL_EXT_draw_instanced")) { in GrGLMakeAssembledGLESInterface()
552 if (extensions.has("GL_EXT_multi_draw_indirect")) { in GrGLMakeAssembledGLESInterface()
575 } else if (extensions.has("GL_OES_texture_buffer")) { in GrGLMakeAssembledGLESInterface()
578 } else if (extensions.has("GL_EXT_texture_buffer")) { in GrGLMakeAssembledGLESInterface()
596 if (extensions.has("GL_NV_texture_barrier")) { in GrGLMakeAssembledGLESInterface()
628 } else if (extensions.has("GL_EXT_instanced_arrays")) { in GrGLMakeAssembledGLESInterface()
649 } else if (extensions.has("GL_CHROMIUM_framebuffer_multisample")) { in GrGLMakeAssembledGLESInterface()
653 if (extensions.has("GL_ANGLE_framebuffer_multisample")) { in GrGLMakeAssembledGLESInterface()
656 if (extensions.has("GL_ANGLE_framebuffer_blit")) { in GrGLMakeAssembledGLESInterface()
661 if (extensions.has("GL_CHROMIUM_map_sub")) { in GrGLMakeAssembledGLESInterface()
668 if (extensions.has("GL_EXT_multisampled_render_to_texture")) { in GrGLMakeAssembledGLESInterface()
673 } else if (extensions.has("GL_IMG_multisampled_render_to_texture")) { in GrGLMakeAssembledGLESInterface()
678 } else if (extensions.has("GL_APPLE_framebuffer_multisample")) { in GrGLMakeAssembledGLESInterface()
700 // extensions. This code is written so that we never mix OES and non-OES functions. in GrGLMakeAssembledGLESInterface()
711 } else if (extensions.has("GL_EXT_map_buffer_range")) { in GrGLMakeAssembledGLESInterface()
716 if (extensions.has("GL_EXT_debug_marker")) { in GrGLMakeAssembledGLESInterface()
733 if (extensions.has("GL_NV_path_rendering")) { in GrGLMakeAssembledGLESInterface()
758 if (extensions.has("GL_CHROMIUM_path_rendering")) { in GrGLMakeAssembledGLESInterface()
785 if (extensions.has("GL_NV_framebuffer_mixed_samples")) { in GrGLMakeAssembledGLESInterface()
788 if (extensions.has("GL_CHROMIUM_framebuffer_mixed_samples")) { in GrGLMakeAssembledGLESInterface()
792 if (extensions.has("GL_KHR_debug")) { in GrGLMakeAssembledGLESInterface()
806 extensions.remove("GL_KHR_debug"); in GrGLMakeAssembledGLESInterface()
810 if (extensions.has("GL_CHROMIUM_bind_uniform_location")) { in GrGLMakeAssembledGLESInterface()
814 if (extensions.has("GL_EXT_window_rectangles")) { in GrGLMakeAssembledGLESInterface()
818 if (extensions.has("EGL_KHR_image") || extensions.has("EGL_KHR_image_base")) { in GrGLMakeAssembledGLESInterface()
829 } else if (extensions.has("GL_APPLE_sync")) { in GrGLMakeAssembledGLESInterface()
856 interface->fExtensions.swap(&extensions); in GrGLMakeAssembledGLESInterface()