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 D | egl_manager.cpp | 162 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 D | opengl_wrapper_api_test.cpp | 238 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 D | opengl_wrapper_native_test.cpp | 258 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 D | how-to-use-opengl-to-draw-3d-graphics.md | 199 EGLint winAttribs[] = {EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR, EGL_NONE}; 201 mEGLSurface = eglCreateWindowSurface(mEGLDisplay, mEGLConfig, mEglWindow, winAttribs);
|