Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Degl_manager.cpp78 int surfaceAttributes[] = { in CreateSurface() local
83 eglSurface = eglCreatePbufferSurface(eglDisplay_, eglConfig_, surfaceAttributes); in CreateSurface()
103 int surfaceAttributes[] = { in CreateContext() local
108 currentSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, surfaceAttributes); in CreateContext()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/src/
H A Degl_manager.cpp103 int surfaceAttributes[] = { EGL_WIDTH, EGLWidth_, EGL_HEIGHT, EGLHeight_, EGL_NONE }; in CreateEGLSurface() local
104 currentSurface_ = eglCreatePbufferSurface(EGLDisplay_, EGLConfig_, surfaceAttributes); in CreateEGLSurface()
112 int surfaceAttributes[] = { EGL_WIDTH, EGLWidth_, EGL_HEIGHT, EGLHeight_, EGL_NONE }; in CreateEGLSurface()
113 currentSurface_ = eglCreatePbufferSurface(EGLDisplay_, EGLConfig_, surfaceAttributes); in CreateEGLSurface()