Home | History | Annotate | Download | only in gl

Lines Matching defs:extensions

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