Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Degl_manager.cpp162 EGLint winAttribs[] = { EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR, EGL_NONE }; in CreateSurface() local
163 EGLSurface surface = eglCreateWindowSurface(eglDisplay_, eglConfig_, nativeWindow_, winAttribs); in CreateSurface()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/
H A Dopengl_wrapper_api_test.cpp238 EGLint winAttribs[] = { EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR, EGL_NONE }; variable
239 eglSurface_ = eglCreateWindowSurface(nullptr, eglConfig_, gWindow_, winAttribs);
245 eglSurface_ = eglCreateWindowSurface(eglDisplay_, eglConfig_, gWindow_, winAttribs);
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/
H A Dopengl_wrapper_native_test.cpp258 EGLint winAttribs[] = { EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR, EGL_NONE }; in InitEglContext() local
259 gEglSurface = eglCreateWindowSurface(gEglDisplay, gConfig, gWindow, winAttribs); in InitEglContext()
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dhow-to-use-opengl-to-draw-3d-graphics.md199 EGLint winAttribs[] = {EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR, EGL_NONE};
201 mEGLSurface = eglCreateWindowSurface(mEGLDisplay, mEGLConfig, mEglWindow, winAttribs);