Home
last modified time | relevance | path

Searched refs:HasExtension (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_loader.cpp57 bool HasExtension(const char* ext, const string_view fileUri) in HasExtension() function
67 if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::SHADER].data(), fullFilename)) { in GetShaderDataFileType()
69 …} else if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::SHADER_STATE].data(), fullFil… in GetShaderDataFileType()
71 …} else if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::PIPELINE_LAYOUT].data(), full… in GetShaderDataFileType()
73 } else if (HasExtension( in GetShaderDataFileType()
163 if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::SHADER].data(), entry.name)) { in HandleShaderFile()
203 … if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::SHADER_STATE].data(), entry.name)) { in HandleShaderStateFile()
216 …if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::PIPELINE_LAYOUT].data(), entry.name)… in HandlePipelineLayoutFile()
233 …if (HasExtension(ShaderDataFileExtensions[ShaderDataFileType::VERTEX_INPUT_DECLARATION].data(), en… in HandleVertexInputDeclarationFile()
H A Drender_data_loader.cpp32 bool HasExtension(string_view ext, const string_view fileUri) in HasExtension() function
68 if (HasExtension(".json", entry.name)) { in RecurseDirectory()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp519 } else if (HasExtension("EGL_KHR_create_context")) { in ChooseConfiguration()
569 if (HasExtension("EGL_KHR_create_context")) { in CreateContext()
574 } else if (HasExtension("EGL_KHR_create_context")) { in CreateContext()
728 plat_.hasColorSpaceExt = hasColorSpaceExt_ = HasExtension("EGL_KHR_gl_colorspace"); in CreateContext()
805 if (!HasExtension("EGL_ANDROID_get_native_client_buffer")) { in GlInitialize()
808 if (!HasExtension("EGL_KHR_image_base")) { in GlInitialize()
926 bool EGLState::HasExtension(const string_view extension) const in HasExtension() function in EGLHelpers::EGLState
H A Dwgl_state.h53 bool HasExtension(BASE_NS::string_view) const;
H A Degl_state.h57 bool HasExtension(BASE_NS::string_view) const;
H A Ddevice_gles.cpp786 if (device.HasExtension("GL_EXT_texture_sRGB_R8")) { in FillExtensionFormats()
792 if (device.HasExtension("GL_EXT_texture_sRGB_RG8")) { in FillExtensionFormats()
798 if (device.HasExtension("GL_EXT_texture_sRGB")) { in FillExtensionFormats()
804 if (device.HasExtension("GL_EXT_texture_format_BGRA8888")) { in FillExtensionFormats()
810 if (device.HasExtension("GL_EXT_texture_norm16")) { in FillExtensionFormats()
816 if (device.HasExtension("GL_EXT_texture_compression_s3tc")) { in FillExtensionFormats()
822 if (device.HasExtension("GL_ARB_texture_compression_bptc")) { in FillExtensionFormats()
828 if (device.HasExtension("GL_EXT_texture_compression_rgtc")) { in FillExtensionFormats()
1156 bool DeviceGLES::HasExtension(const string_view extension) const in HasExtension() function in DeviceGLES
2045 return HasExtension(EXT_BUFFER_STORAGE); in AllowThreadedProcessing()
[all …]
H A Dwgl_state.cpp388 bool WGLState::HasExtension(const string_view extension) const in HasExtension() function in WGLHelpers::WGLState
444 hasSRGBFB_ = HasExtension("WGL_ARB_framebuffer_sRGB"); in CreateContext()
445 hasColorSpace_ = HasExtension("WGL_EXT_colorspace"); in CreateContext()
H A Dgpu_buffer_gles.cpp100 …if (const bool hasBufferStorageEXT = device_.HasExtension("GL_EXT_buffer_storage"); hasBufferStora…
H A Dnode_context_pool_manager_gles.cpp681 … multisampledRenderToTexture_ = device_.HasExtension("GL_EXT_multisampled_render_to_texture2");
682 …multiViewMultisampledRenderToTexture_ = device_.HasExtension("GL_OVR_multiview_multisampled_render…
685 multiView_ = device_.HasExtension("GL_OVR_multiview2");
H A Dgpu_image_gles.cpp205 if (device_.HasExtension("GL_EXT_multisampled_render_to_texture2")) { in GpuImageGLES()
H A Ddevice_gles.h172 bool HasExtension(BASE_NS::string_view extension) const;
H A Drender_backend_gles.cpp715 validGpuQueries_ = device_.HasExtension("GL_EXT_disjoint_timer_query"); in RenderBackendGLES()
722 … multisampledRenderToTexture_ = device_.HasExtension("GL_EXT_multisampled_render_to_texture2"); in RenderBackendGLES()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dcreate_functions_vk.h82 static bool HasExtension(
H A Dcreate_functions_vk.cpp520 bool CreateFunctionsVk::HasExtension( in HasExtension() function in CreateFunctionsVk
576 if (HasExtension(physicalDeviceExtensions, preferredDeviceExtension)) { in CreateDevice()
H A Ddevice_vk.cpp781 …if (CreateFunctionsVk::HasExtension(plat_.physicalDeviceExtensions, DEVICE_EXTENSION_FRAGMENT_SHAD… in CreateDevice()
791 …if (CreateFunctionsVk::HasExtension(plat_.physicalDeviceExtensions, DEVICE_EXTENSION_MAINTENANCE4)… in CreateDevice()