Lines Matching refs:hasExtension

135                                     ctxInfo.hasExtension("GL_OES_rgb8_rgba8") ||  in init()
136 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()
141 ctxInfo.hasExtension("GL_ARB_texture_swizzle"); in init()
153 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
154 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
156 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
158 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
162 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init()
167 ctxInfo.hasExtension("GL_ARB_texture_storage") || in init()
168 ctxInfo.hasExtension("GL_EXT_texture_storage"); in init()
173 ctxInfo.hasExtension("GL_EXT_texture_storage"); in init()
178 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init()
179 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
181 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
189 ctxInfo.hasExtension("GL_ARB_texture_rg"); in init()
192 ctxInfo.hasExtension("GL_EXT_texture_rg"); in init()
196 ctxInfo.hasExtension("GL_ARB_imaging"); in init()
208 ctxInfo.hasExtension("GL_ARB_fragment_coord_conventions"); in init()
224 ctxInfo.hasExtension("GL_ARB_invalidate_subdata")) { in init()
227 } else if (ctxInfo.hasExtension("GL_EXT_discard_framebuffer")) { in init()
238 ctxInfo.hasExtension("GL_ARB_vertex_array_object") || in init()
239 ctxInfo.hasExtension("GL_APPLE_vertex_array_object"); in init()
242 ctxInfo.hasExtension("GL_OES_vertex_array_object"); in init()
246 fES2CompatibilitySupport = ctxInfo.hasExtension("GL_ARB_ES2_compatibility"); in init()
265 ctxInfo.hasExtension("GL_EXT_stencil_wrap"); in init()
275 if (ctxInfo.hasExtension("GL_KHR_blend_equation_advanced_coherent") || in init()
276 ctxInfo.hasExtension("GL_NV_blend_equation_advanced_coherent")) { in init()
278 } else if (ctxInfo.hasExtension("GL_KHR_blend_equation_advanced") || in init()
279 ctxInfo.hasExtension("GL_NV_blend_equation_advanced")) { in init()
292 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_map_buffer_range")) { in init()
301 if (ctxInfo.hasExtension("GL_CHROMIUM_map_sub")) { in init()
304 } else if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_map_buffer_range")) { in init()
307 } else if (ctxInfo.hasExtension("GL_OES_mapbuffer")) { in init()
315 ctxInfo.hasExtension("GL_ARB_texture_non_power_of_two")); in init()
322 ctxInfo.hasExtension("GL_OES_texture_npot"); in init()
327 fMipMapSupport = fNPOTTextureTileSupport || ctxInfo.hasExtension("GL_IMG_texture_npot"); in init()
336 fFBMixedSamplesSupport = ctxInfo.hasExtension("GL_NV_framebuffer_mixed_samples"); in init()
338 fGpuTracingSupport = ctxInfo.hasExtension("GL_EXT_debug_marker"); in init()
359 ctxInfo.hasExtension("GL_ARB_framebuffer_object")) { in init()
362 SkASSERT(ctxInfo.hasExtension("GL_EXT_framebuffer_object")); in init()
417 ctxInfo.hasExtension("GL_ARB_framebuffer_object")) { in initConfigRenderableTable()
447 if (ctxInfo.hasExtension("GL_CHROMIUM_renderbuffer_format_BGRA8888")) { in initConfigRenderableTable()
458 ctxInfo.hasExtension("GL_ARB_framebuffer_sRGB") || in initConfigRenderableTable()
459 ctxInfo.hasExtension("GL_EXT_framebuffer_sRGB")) { in initConfigRenderableTable()
465 ctxInfo.hasExtension("GL_EXT_sRGB")) { in initConfigRenderableTable()
477 if (ctxInfo.hasExtension("GL_EXT_color_buffer_float")) { in initConfigRenderableTable()
496 if (ctxInfo.hasExtension("GL_EXT_color_buffer_half_float") && fTextureRedSupport) { in initConfigRenderableTable()
542 version >= GR_GL_VER(1,2) || ctxInfo.hasExtension("GL_EXT_bgra"); in initConfigTexturableTable()
544 if (ctxInfo.hasExtension("GL_APPLE_texture_format_BGRA8888")) { in initConfigTexturableTable()
546 } else if (ctxInfo.hasExtension("GL_EXT_texture_format_BGRA8888")) { in initConfigTexturableTable()
557 (version >= GR_GL_VER(3,0) || ctxInfo.hasExtension("GL_EXT_texture_sRGB")); in initConfigTexturableTable()
560 (version >= GR_GL_VER(3,0) || ctxInfo.hasExtension("GL_EXT_sRGB")); in initConfigTexturableTable()
579 ctxInfo.hasExtension("GL_ARB_ES3_compatibility")); in initConfigTexturableTable()
583 ctxInfo.hasExtension("GL_OES_compressed_ETC1_RGB8_texture") || in initConfigTexturableTable()
585 (ctxInfo.hasExtension("GL_OES_compressed_ETC2_RGB8_texture") && in initConfigTexturableTable()
586 ctxInfo.hasExtension("GL_OES_compressed_ETC2_RGBA8_texture"))); in initConfigTexturableTable()
593 (ctxInfo.hasExtension("GL_EXT_texture_compression_latc") || in initConfigTexturableTable()
594 ctxInfo.hasExtension("GL_NV_texture_compression_latc")); in initConfigTexturableTable()
605 ctxInfo.hasExtension("GL_EXT_texture_compression_rgtc") || in initConfigTexturableTable()
606 ctxInfo.hasExtension("GL_ARB_texture_compression_rgtc"); in initConfigTexturableTable()
616 hasLATC = ctxInfo.hasExtension("GL_AMD_compressed_3DC_texture"); in initConfigTexturableTable()
634 ctxInfo.hasExtension("GL_KHR_texture_compression_astc_hdr") || in initConfigTexturableTable()
635 ctxInfo.hasExtension("GL_KHR_texture_compression_astc_ldr") || in initConfigTexturableTable()
636 ctxInfo.hasExtension("GL_OES_texture_compression_astc"); in initConfigTexturableTable()
645 hasFPTextures = ctxInfo.hasExtension("GL_ARB_texture_float") || in initConfigTexturableTable()
646 (ctxInfo.hasExtension("GL_OES_texture_float_linear") && in initConfigTexturableTable()
647 ctxInfo.hasExtension("GL_OES_texture_float")); in initConfigTexturableTable()
658 hasHalfFPTextures = ctxInfo.hasExtension("GL_ARB_texture_float") || in initConfigTexturableTable()
659 (ctxInfo.hasExtension("GL_OES_texture_half_float_linear") && in initConfigTexturableTable()
660 ctxInfo.hasExtension("GL_OES_texture_half_float")); in initConfigTexturableTable()
713 if (ctxInfo.hasExtension("GL_EXT_multisampled_render_to_texture")) { in initFSAASupport()
715 } else if (ctxInfo.hasExtension("GL_IMG_multisampled_render_to_texture")) { in initFSAASupport()
719 } else if (ctxInfo.hasExtension("GL_CHROMIUM_framebuffer_multisample")) { in initFSAASupport()
723 } else if (ctxInfo.hasExtension("GL_APPLE_framebuffer_multisample")) { in initFSAASupport()
728 ctxInfo.hasExtension("GL_ARB_framebuffer_object")) { in initFSAASupport()
730 } else if (ctxInfo.hasExtension("GL_EXT_framebuffer_multisample") && in initFSAASupport()
731 ctxInfo.hasExtension("GL_EXT_framebuffer_blit")) { in initFSAASupport()
761 ctxInfo.hasExtension("GL_EXT_packed_depth_stencil") || in initStencilFormats()
762 ctxInfo.hasExtension("GL_ARB_framebuffer_object"); in initStencilFormats()
784 ctxInfo.hasExtension("GL_OES_packed_depth_stencil")) { in initStencilFormats()
787 if (ctxInfo.hasExtension("GL_OES_stencil4")) { in initStencilFormats()
971 if (ctxInfo.hasExtension("GL_EXT_shader_framebuffer_fetch")) { in init()
977 else if (ctxInfo.hasExtension("GL_NV_shader_framebuffer_fetch")) { in init()
984 else if (ctxInfo.hasExtension("GL_ARM_shader_framebuffer_fetch")) { in init()
1000 fPathRenderingSupport = ctxInfo.hasExtension("GL_NV_path_rendering"); in init()
1007 fPathRenderingSupport = ctxInfo.hasExtension("GL_EXT_direct_state_access") && in init()
1009 ctxInfo.hasExtension("GL_ARB_program_interface_query")) && in init()
1023 ctxInfo.hasExtension("GL_ARB_blend_func_extended"); in init()
1031 ctxInfo.hasExtension("GL_OES_standard_derivatives"); in init()
1036 if (ctxInfo.hasExtension(coherent ? "GL_NV_blend_equation_advanced_coherent" in init()
1104 ctxInfo.hasExtension("GL_ARB_ES2_compatibility")) { in initShaderPrecisionTable()