2003-2018 The Khronos Group Inc.
eglCreatePixmapSurface 3G
eglCreatePixmapSurface create a new EGL offscreen surface

## C Specification

EGLSurface `eglCreatePixmapSurface` EGLDisplay display EGLConfig config NativePixmapType native_pixmap EGLint const * attrib_list

## Parameters

display

  Specifies the EGL display connection.

config

  Specifies the EGL frame buffer configuration that defines the frame buffer resource available to the surface.

native_pixmap

  Specifies the native pixmap.

attrib_list

  Specifies pixmap surface attributes. May be `NULL` or empty (first attribute is `EGL_NONE`).

## Description

`eglCreatePixmapSurface` creates an off-screen EGL pixmap surface and returns a handle to it. The behavior of `eglCreatePixmapSurface` is identical to that of eglCreatePlatformPixmapSurface except that the set of platforms to which display is permitted to belong, as well as the actual type of native_pixmap, are implementation specific.

## Errors

See errors for eglCreatePlatformPixmapSurface.

## See Also

eglCreatePlatformPixmapSurface, eglDestroySurface, eglChooseConfig, eglGetConfigs, eglMakeCurrent, eglQuerySurface