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")) {
191 if (extensions.has("GL_EXT_raster_multisample")) {
215 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) {
217 } else if (extensions.has("GL_EXT_texture_storage")) {
221 if (glVer >= GR_GL_VER(4,5) || extensions.has("GL_ARB_texture_barrier")) {
223 } else if (extensions.has("GL_NV_texture_barrier")) {
252 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_instanced_arrays")) {
264 if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_ARB_vertex_array_object")) {
269 } else if (extensions.has("GL_APPLE_vertex_array_object")) {
275 if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_ARB_map_buffer_range")) {
282 if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_ARB_framebuffer_object")) {
298 } else if (extensions.has("GL_EXT_framebuffer_object")) {
312 if (extensions.has("GL_EXT_framebuffer_multisample")) {
315 if (extensions.has("GL_EXT_framebuffer_blit")) {
323 if (extensions.has("GL_NV_path_rendering")) {
348 if (extensions.has("GL_NV_framebuffer_mixed_samples")) {
352 if (extensions.has("GL_EXT_debug_marker")) {
358 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) {
367 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_query")) {
371 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) {
382 if (extensions.has("GL_EXT_window_rectangles")) {
386 if (extensions.has("EGL_KHR_image") || extensions.has("EGL_KHR_image_base")) {
391 if (glVer >= GR_GL_VER(3, 2) || extensions.has("GL_ARB_sync")) {
399 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_internalformat_query")) {
409 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_sampler_objects")) {
418 interface->fExtensions.swap(&extensions);
441 GrGLExtensions extensions;
442 if (!extensions.init(kGLES_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString,
460 } else if (extensions.has("GL_OES_vertex_array_object")) {
466 if (version >= GR_GL_VER(3,0) && extensions.has("GL_EXT_blend_func_extended")) {
471 if (extensions.has("GL_KHR_blend_equation_advanced")) {
473 } else if (extensions.has("GL_NV_blend_equation_advanced")) {
485 if (extensions
510 } else if (extensions.has("GL_EXT_draw_instanced")) {
555 if (extensions.has("GL_EXT_multi_draw_indirect")) {
562 if (extensions.has("GL_EXT_raster_multisample")) {
582 } else if (extensions.has("GL_OES_texture_buffer")) {
585 } else if (extensions.has("GL_EXT_texture_buffer")) {
603 if (extensions.has("GL_NV_texture_barrier")) {
635 } else if (extensions.has("GL_EXT_instanced_arrays")) {
656 } else if (extensions.has("GL_CHROMIUM_framebuffer_multisample")) {
660 if (extensions.has("GL_ANGLE_framebuffer_multisample")) {
663 if (extensions.has("GL_ANGLE_framebuffer_blit")) {
668 if (extensions.has("GL_CHROMIUM_map_sub")) {
675 if (extensions.has("GL_EXT_multisampled_render_to_texture")) {
680 } else if (extensions.has("GL_IMG_multisampled_render_to_texture")) {
685 } else if (extensions.has("GL_APPLE_framebuffer_multisample")) {
707 // extensions. This code is written so that we never mix OES and non-OES functions.
718 } else if (extensions.has("GL_EXT_map_buffer_range")) {
723 if (extensions.has("GL_EXT_debug_marker")) {
740 if (extensions.has("GL_NV_path_rendering")) {
765 if (extensions.has("GL_CHROMIUM_path_rendering")) {
792 if (extensions.has("GL_NV_framebuffer_mixed_samples")) {
795 if (extensions.has("GL_CHROMIUM_framebuffer_mixed_samples")) {
799 if (extensions.has("GL_KHR_debug")) {
813 extensions.remove("GL_KHR_debug");
817 if (extensions.has("GL_CHROMIUM_bind_uniform_location")) {
821 if (extensions.has("GL_EXT_window_rectangles")) {
825 if (extensions.has("EGL_KHR_image") || extensions.has("EGL_KHR_image_base")) {
836 } else if (extensions.has("GL_APPLE_sync")) {
863 interface->fExtensions.swap(&extensions);