Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp959 EGLint attribsSrgb[] = { EGL_NONE, EGL_NONE, EGL_NONE }; in CreateSurface() local
962 attribsSrgb[0] = EGL_GL_COLORSPACE; in CreateSurface()
963 attribsSrgb[1] = EGL_GL_COLORSPACE_SRGB; in CreateSurface()
965 attribsSrgb[0] = EGL_GL_COLORSPACE_KHR; in CreateSurface()
966 attribsSrgb[1] = EGL_GL_COLORSPACE_SRGB_KHR; in CreateSurface()
970 … reinterpret_cast<EGLNativeWindowType>(window), isSrgbSurfaceSupported ? attribsSrgb : nullptr); in CreateSurface()