eglCreateWindowSurface — create a new EGL window surface
EGLSurface eglCreateWindowSurface(
|
EGLDisplay display, |
EGLConfig config, | |
NativeWindowType native_window, | |
EGLint const * attrib_list) ; |
display
Specifies the EGL display connection.
config
Specifies the EGL frame buffer configuration that defines the frame buffer resource available to the surface.
native_window
Specifies the native window.
attrib_list
Specifies window surface attributes.
May be NULL
or empty
(first attribute is EGL_NONE
).
eglCreateWindowSurface
creates an on-screen
EGL window surface and returns a handle to it. The behavior of
eglCreateWindowSurface
is identical to that
of
eglCreatePlatformWindowSurface
except that the set of platforms to which
display
is permitted to belong, as well
as the actual type of native_window
, are
implementation specific.
See errors for eglCreatePlatformWindowSurface.
eglCreatePlatformWindowSurface, eglDestroySurface, eglChooseConfig, eglGetConfigs, eglMakeCurrent, eglQuerySurface
Copyright © 2003-2014 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the condition that this copyright notice and permission notice shall be included in all copies or substantial portions of the Materials.