Home
last modified time | relevance | path

Searched refs:backendConfig (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp534 if (backendConfig) { in ChooseConfiguration()
535 if (backendConfig->MSAASamples > 1) { in ChooseConfiguration()
542 …PLUGIN_LOG_I("Samples:%d Alpha:%d Depth:%d Stencil:%d", backendConfig->MSAASamples, backendConfig-… in ChooseConfiguration()
543 backendConfig->depthBits, backendConfig->stencilBits); in ChooseConfiguration()
588 if (backendConfig) { in CreateContext()
672 plat_.display = eglGetDisplay(backendConfig ? backendConfig->display : EGL_DEFAULT_DISPLAY); in CreateContext()
673 … const EGLContext appContext = backendConfig ? backendConfig->applicationContext : EGL_NO_CONTEXT; in CreateContext()
674 const EGLContext sharedContext = backendConfig ? backendConfig->sharedContext : EGL_NO_CONTEXT; in CreateContext()
735 ChooseConfiguration(backendConfig); in CreateContext()
744 CreateContext(backendConfig); in CreateContext()
[all …]
H A Dwgl_state.cpp422 auto backendConfig = static_cast<const BackendExtraGL*>(createInfo.backendConfiguration); in CreateContext() local
425 if (backendConfig) { in CreateContext()
426 plat_.mhWnd = backendConfig->window; in CreateContext()
427 sharedContext = backendConfig->sharedContext; in CreateContext()
472 if (backendConfig) { in CreateContext()
473 if (backendConfig->MSAASamples > 1) { in CreateContext()
475 addAttribute(WGL_SAMPLES_ARB, static_cast<int>(backendConfig->MSAASamples)); in CreateContext()
477 addAttribute(WGL_DEPTH_BITS_ARB, static_cast<int>(backendConfig->depthBits)); in CreateContext()
478 addAttribute(WGL_STENCIL_BITS_ARB, static_cast<int>(backendConfig->stencilBits)); in CreateContext()
479 addAttribute(WGL_ALPHA_BITS_ARB, static_cast<int>(backendConfig->alphaBits)); in CreateContext()