Home
last modified time | relevance | path

Searched refs:glSupport (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base_impl.cpp2277 GLenum type, const std::vector<GLenum>& glSupport, const std::vector<GLenum>& g2Support) in CheckGLenum() argument
2279 auto it = std::find(glSupport.begin(), glSupport.end(), type); in CheckGLenum()
2280 if (it != glSupport.end()) { in CheckGLenum()
2293 bool WebGLRenderingContextBaseImpl::CheckInList(GLenum type, const std::vector<GLenum>& glSupport) in CheckInList() argument
2295 auto it = std::find(glSupport.begin(), glSupport.end(), type); in CheckInList()
2296 if (it != glSupport.end()) { in CheckInList()
2314 …static const std::vector<GLenum> glSupport = { WebGLRenderingContextBase::RGBA4, WebGLRenderingCon… in CheckInternalFormat() local
2333 return CheckGLenum(internalFormat, glSupport, gl2Support); in CheckInternalFormat()
2338 static const std::vector<GLenum> glSupport = { WebGLRenderingContextBase::COLOR_ATTACHMENT0, in CheckAttachment() local
2342 if (!CheckGLenum(attachment, glSupport, {})) { in CheckAttachment()
H A Dwebgl_rendering_context_base.cpp59 …ol CheckGLenum(napi_env env, napi_value thisVar, GLenum type, const std::vector<GLenum>& glSupport, in CheckGLenum() argument
66 return context->GetWebGLRenderingContextImpl().CheckGLenum(type, glSupport, gl2Support); in CheckGLenum()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base_impl.h275 …bool CheckGLenum(GLenum type, const std::vector<GLenum>& glSupport, const std::vector<GLenum>& g2S…
290 bool CheckInList(GLenum type, const std::vector<GLenum>& glSupport);